diff --git a/unimore_bda_6/database/collections.py b/unimore_bda_6/database/collections.py index 76f5307..e7a485e 100644 --- a/unimore_bda_6/database/collections.py +++ b/unimore_bda_6/database/collections.py @@ -26,7 +26,7 @@ class MongoReview(t.TypedDict): def reviews_collection(db: pymongo.MongoClient) -> pymongo.collection.Collection[MongoReview]: """ - Create a new MongoDB client, access the ``reviews`` collection in the ``reviews`` database, and yield it. + Create a new MongoDB client, access the ``reviews`` collection in the ``reviews`` database, and return it. """ log.debug("Accessing the reviews collection...") collection: pymongo.collection.Collection[MongoReview] = db.reviews.reviews