Skip to content

Commit

Permalink
BUMP 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey committed Apr 4, 2022
1 parent b0fd5cb commit 6e99bf4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions gridfs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ def find(self, *args: Any, **kwargs: Any) -> GridOutCursor:
are associated with that session.
:Parameters:
- `filter` (optional): a SON object specifying elements which
must be present for a document to be included in the
result set
- `filter` (optional): A query document that selects which files
to include in the result set. Can be an empty document to include
all files.
- `skip` (optional): the number of files to omit (from
the start of the result set) when returning the results
- `limit` (optional): the maximum number of results to
Expand Down
2 changes: 1 addition & 1 deletion pymongo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
.. _text index: http://docs.mongodb.org/manual/core/index-text/
"""

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


def get_version_string() -> str:
Expand Down
8 changes: 4 additions & 4 deletions pymongo/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ def find_one(
def find(self, *args: Any, **kwargs: Any) -> Cursor[_DocumentType]:
"""Query the database.
The `filter` argument is a prototype document that all results
The `filter` argument is a query document that all results
must match. For example:
>>> db.test.find({"hello": "world"})
Expand All @@ -1443,9 +1443,9 @@ def find(self, *args: Any, **kwargs: Any) -> Cursor[_DocumentType]:
this :class:`Collection`.
:Parameters:
- `filter` (optional): a :class:`~bson.son.SON` object specifying elements which
must be present for a document to be included in the
result set
- `filter` (optional): A query document that selects which documents
to include in the result set. Can be an empty document to include
all documents.
- `projection` (optional): a list of field names that should be
returned in the result set or a dict specifying the fields
to include or exclude. If `projection` is a list "_id" will
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
except ImportError:
_HAVE_SPHINX = False

version = "4.1.0.dev0"
version = "4.1.0"

f = open("README.rst")
try:
Expand Down

0 comments on commit 6e99bf4

Please sign in to comment.