Skip to content

Commit 6e99bf4

Browse files
committed
BUMP 4.1.0
1 parent b0fd5cb commit 6e99bf4

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

gridfs/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ def find(self, *args: Any, **kwargs: Any) -> GridOutCursor:
364364
are associated with that session.
365365
366366
:Parameters:
367-
- `filter` (optional): a SON object specifying elements which
368-
must be present for a document to be included in the
369-
result set
367+
- `filter` (optional): A query document that selects which files
368+
to include in the result set. Can be an empty document to include
369+
all files.
370370
- `skip` (optional): the number of files to omit (from
371371
the start of the result set) when returning the results
372372
- `limit` (optional): the maximum number of results to

pymongo/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
.. _text index: http://docs.mongodb.org/manual/core/index-text/
5656
"""
5757

58-
version_tuple: Tuple[Union[int, str], ...] = (4, 1, 0, ".dev0")
58+
version_tuple: Tuple[Union[int, str], ...] = (4, 1, 0)
5959

6060

6161
def get_version_string() -> str:

pymongo/collection.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ def find_one(
14231423
def find(self, *args: Any, **kwargs: Any) -> Cursor[_DocumentType]:
14241424
"""Query the database.
14251425
1426-
The `filter` argument is a prototype document that all results
1426+
The `filter` argument is a query document that all results
14271427
must match. For example:
14281428
14291429
>>> db.test.find({"hello": "world"})
@@ -1443,9 +1443,9 @@ def find(self, *args: Any, **kwargs: Any) -> Cursor[_DocumentType]:
14431443
this :class:`Collection`.
14441444
14451445
:Parameters:
1446-
- `filter` (optional): a :class:`~bson.son.SON` object specifying elements which
1447-
must be present for a document to be included in the
1448-
result set
1446+
- `filter` (optional): A query document that selects which documents
1447+
to include in the result set. Can be an empty document to include
1448+
all documents.
14491449
- `projection` (optional): a list of field names that should be
14501450
returned in the result set or a dict specifying the fields
14511451
to include or exclude. If `projection` is a list "_id" will

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
except ImportError:
3535
_HAVE_SPHINX = False
3636

37-
version = "4.1.0.dev0"
37+
version = "4.1.0"
3838

3939
f = open("README.rst")
4040
try:

0 commit comments

Comments
 (0)