@@ -1366,12 +1366,12 @@ def find(self, *args, **kwargs):
1366
1366
- `allow_partial_results` (optional): if True, mongos will return
1367
1367
partial results if some shards are down instead of returning an
1368
1368
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 .
1371
1371
- `batch_size` (optional): Limits the number of documents returned in
1372
1372
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 .
1375
1375
- `collation` (optional): An instance of
1376
1376
:class:`~pymongo.collation.Collation`. This option is only supported
1377
1377
on MongoDB 3.4 and above.
@@ -1436,6 +1436,10 @@ def find(self, *args, **kwargs):
1436
1436
1437
1437
.. versionchanged:: 3.11
1438
1438
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.
1439
1443
1440
1444
.. versionchanged:: 3.7
1441
1445
Deprecated the ``snapshot`` option, which is deprecated in MongoDB
0 commit comments