From 474107ca5e7e9b0d50328b7000764e6b31802adc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 13 Feb 2023 18:58:39 +0100 Subject: [PATCH] Fix doc inaccuracy --- unimore_bda_6/database/collections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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