MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / __init__

Method __init__

pymongo/synchronous/cursor.py:1181–1190  ·  view source on GitHub ↗

Create a new cursor / iterator over raw batches of BSON data. Should not be called directly by application developers - see :meth:`~pymongo.collection.Collection.find_raw_batches` instead. .. seealso:: The MongoDB documentation on `cursors <https://dochub.mongodb.or

(self, collection: Collection[_DocumentType], *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

1179 _getmore_class = _RawBatchGetMore
1180
1181 def __init__(self, collection: Collection[_DocumentType], *args: Any, **kwargs: Any) -> None:
1182 """Create a new cursor / iterator over raw batches of BSON data.
1183
1184 Should not be called directly by application developers -
1185 see :meth:`~pymongo.collection.Collection.find_raw_batches`
1186 instead.
1187
1188 .. seealso:: The MongoDB documentation on `cursors <https://dochub.mongodb.org/core/cursors>`_.
1189 """
1190 super().__init__(collection, *args, **kwargs)
1191
1192 def _unpack_response(
1193 self,

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected