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

Method __getitem__

pymongo/synchronous/cursor.py:536–537  ·  view source on GitHub ↗
(self, index: int)

Source from the content-addressed store, hash-verified

534
535 @overload
536 def __getitem__(self, index: int) -> _DocumentType:
537 ...
538
539 @overload
540 def __getitem__(self, index: slice) -> Cursor[_DocumentType]:

Callers

nothing calls this directly

Calls 4

_check_okay_to_chainMethod · 0.95
cloneMethod · 0.95
skipMethod · 0.45
limitMethod · 0.45

Tested by

no test coverage detected