MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / _clone_base

Method _clone_base

gridfs/synchronous/grid_file.py:1992–1994  ·  view source on GitHub ↗

Creates an empty GridOutCursor for information to be copied into.

(self, session: Optional[ClientSession])

Source from the content-addressed store, hash-verified

1990 raise NotImplementedError("Method does not exist for GridOutCursor")
1991
1992 def _clone_base(self, session: Optional[ClientSession]) -> GridOutCursor:
1993 """Creates an empty GridOutCursor for information to be copied into."""
1994 return GridOutCursor(self._root_collection, session=session)

Callers

nothing calls this directly

Calls 1

GridOutCursorClass · 0.85

Tested by

no test coverage detected