@@ -138,12 +138,6 @@ def __init__(self, database, name, create=False, codec_options=None,
138
138
139
139
collection.__my_collection__
140
140
141
- .. versionchanged:: 2.2
142
- Removed deprecated argument: options
143
-
144
- .. versionadded:: 2.1
145
- uuid_subtype attribute
146
-
147
141
.. mongodoc:: collections
148
142
"""
149
143
super (Collection , self ).__init__ (
@@ -1382,19 +1376,6 @@ def find(self, *args, **kwargs):
1382
1376
expression object.
1383
1377
Soft deprecated the ``manipulate`` option.
1384
1378
1385
- .. versionchanged:: 2.7
1386
- Added ``compile_re`` option. If set to False, PyMongo represented
1387
- BSON regular expressions as :class:`~bson.regex.Regex` objects
1388
- instead of attempting to compile BSON regular expressions as Python
1389
- native regular expressions, thus preventing errors for some
1390
- incompatible patterns, see `PYTHON-500`_.
1391
-
1392
- .. versionchanged:: 2.3
1393
- Added the ``tag_sets`` and ``secondary_acceptable_latency_ms``
1394
- parameters.
1395
-
1396
- .. _PYTHON-500: https://jira.mongodb.org/browse/PYTHON-500
1397
-
1398
1379
.. mongodoc:: find
1399
1380
1400
1381
"""
@@ -2072,13 +2053,6 @@ def aggregate(self, pipeline, session=None, **kwargs):
2072
2053
.. versionchanged:: 3.0
2073
2054
The :meth:`aggregate` method always returns a CommandCursor. The
2074
2055
pipeline argument must be a list.
2075
- .. versionchanged:: 2.7
2076
- When the cursor option is used, return
2077
- :class:`~pymongo.command_cursor.CommandCursor` instead of
2078
- :class:`~pymongo.cursor.Cursor`.
2079
- .. versionchanged:: 2.6
2080
- Added cursor support.
2081
- .. versionadded:: 2.3
2082
2056
2083
2057
.. seealso:: :doc:`/examples/aggregation`
2084
2058
0 commit comments