Skip to content

Commit 334f55b

Browse files
committed
Fix docstring
1 parent 81b8688 commit 334f55b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pymongo/asynchronous/collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2948,12 +2948,12 @@ async def aggregate(
29482948
returning aggregate results using a cursor.
29492949
- `collation` (optional): An instance of
29502950
:class:`~pymongo.collation.Collation`.
2951-
- `bypassDocumentValidation` (bool): If ``True``, allows the
2952-
write to opt-out of document level validation.
2951+
- `bypassDocumentValidation` (bool): If ``True``, allows the write to opt-out of document level validation.
29532952
29542953
29552954
:return: A :class:`~pymongo.asynchronous.command_cursor.AsyncCommandCursor` over the result
29562955
set.
2956+
29572957
.. versionchanged:: 4.1
29582958
Added ``comment`` parameter.
29592959
Added ``let`` parameter.

pymongo/synchronous/collection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2941,12 +2941,12 @@ def aggregate(
29412941
returning aggregate results using a cursor.
29422942
- `collation` (optional): An instance of
29432943
:class:`~pymongo.collation.Collation`.
2944-
- `bypassDocumentValidation` (bool): If ``True``, allows the
2945-
write to opt-out of document level validation.
2944+
- `bypassDocumentValidation` (bool): If ``True``, allows the write to opt-out of document level validation.
29462945
29472946
29482947
:return: A :class:`~pymongo.command_cursor.CommandCursor` over the result
29492948
set.
2949+
29502950
.. versionchanged:: 4.1
29512951
Added ``comment`` parameter.
29522952
Added ``let`` parameter.

0 commit comments

Comments
 (0)