MCPcopy Create free account
hub / github.com/Vchitect/Latte / close

Method close

tools/utils/dataset.py:216–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

214 return None
215
216 def close(self):
217 try:
218 if self._zipfile is not None:
219 self._zipfile.close()
220 finally:
221 self._zipfile = None
222
223 def __getstate__(self):
224 return dict(super().__getstate__(), _zipfile=None)

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected