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

Method __init__

gridfs/synchronous/grid_file.py:1911–1912  ·  view source on GitHub ↗
(self, grid_out: GridOut, chunks: Collection[Any], session: ClientSession)

Source from the content-addressed store, hash-verified

1909
1910class GridOutIterator:
1911 def __init__(self, grid_out: GridOut, chunks: Collection[Any], session: ClientSession):
1912 self._chunk_iter = GridOutChunkIterator(grid_out, chunks, session, 0)
1913
1914 def __iter__(self) -> GridOutIterator:
1915 return self

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected