1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-21 23:44:19 +00:00

Fix doc inaccuracy

This commit is contained in:
Steffo 2023-02-13 18:58:39 +01:00
parent b19073109c
commit 474107ca5e
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -26,7 +26,7 @@ class MongoReview(t.TypedDict):
def reviews_collection(db: pymongo.MongoClient) -> pymongo.collection.Collection[MongoReview]: 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...") log.debug("Accessing the reviews collection...")
collection: pymongo.collection.Collection[MongoReview] = db.reviews.reviews collection: pymongo.collection.Collection[MongoReview] = db.reviews.reviews