MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / __del__

Method __del__

models/base.py:92–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

90 self.tarfile_map = {}
91
92 def __del__(self):
93 for tar_f in self.tarfile_map.values():
94 tar_f.close()
95
96 def __call__(self, spec, mask_filepath, size_bucket=None):
97 is_video = (Path(spec[1]).suffix in VIDEO_EXTENSIONS)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected