Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mongodb/mongo-python-driver
/ close
Method
close
gridfs/synchronous/grid_file.py:1904–1907 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1902
__next__ = next
1903
1904
def
close(self) -> None:
1905
if
self._cursor:
1906
self._cursor.close()
1907
self._cursor = None
1908
1909
1910
class
GridOutIterator:
Callers
1
next
Method · 0.95
Calls
1
close
Method · 0.45
Tested by
no test coverage detected