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:
parent
b19073109c
commit
474107ca5e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue