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

Method __deepcopy__

pymongo/asynchronous/cursor.py:888–893  ·  view source on GitHub ↗

Support function for `copy.deepcopy()`. .. versionadded:: 2.4

(self, memo: Any)

Source from the content-addressed store, hash-verified

886 return self._clone(deepcopy=False)
887
888 def __deepcopy__(self, memo: Any) -> Any:
889 """Support function for `copy.deepcopy()`.
890
891 .. versionadded:: 2.4
892 """
893 return self._clone(deepcopy=True)
894
895 @overload
896 def _deepcopy(self, x: Iterable, memo: Optional[dict[int, Union[list, dict]]] = None) -> list: # type: ignore[type-arg]

Callers

nothing calls this directly

Calls 1

_cloneMethod · 0.95

Tested by

no test coverage detected