@@ -1366,12 +1366,12 @@ def find(self, *args, **kwargs):
13661366 - `allow_partial_results` (optional): if True, mongos will return
13671367 partial results if some shards are down instead of returning an
13681368 error.
1369- - `oplog_replay` (optional): If True, set the oplogReplay query
1370- flag.
1369+ - `oplog_replay` (optional): **DEPRECATED** - if True, set the
1370+ oplogReplay query flag. Default: False .
13711371 - `batch_size` (optional): Limits the number of documents returned in
13721372 a single batch.
1373- - `manipulate` (optional): **DEPRECATED** - If True (the default),
1374- apply any outgoing SON manipulators before returning.
1373+ - `manipulate` (optional): **DEPRECATED** - If True, apply any
1374+ outgoing SON manipulators before returning. Default: True .
13751375 - `collation` (optional): An instance of
13761376 :class:`~pymongo.collation.Collation`. This option is only supported
13771377 on MongoDB 3.4 and above.
@@ -1436,6 +1436,10 @@ def find(self, *args, **kwargs):
14361436
14371437 .. versionchanged:: 3.11
14381438 Added the ``allow_disk_use`` option.
1439+ Deprecated the ``oplog_replay`` option. Support for this option is
1440+ deprecated in MongoDB 4.4. The query engine now automatically
1441+ optimizes queries against the oplog without requiring this
1442+ option to be set.
14391443
14401444 .. versionchanged:: 3.7
14411445 Deprecated the ``snapshot`` option, which is deprecated in MongoDB
0 commit comments