MCPcopy Create free account
hub / github.com/Albert-Ma/PROP / __exit__

Method __exit__

prop/preprocessing_data.py:48–52  ·  view source on GitHub ↗
(self, exc_type, exc_val, traceback)

Source from the content-addressed store, hash-verified

46 return self
47
48 def __exit__(self, exc_type, exc_val, traceback):
49 if self.document_shelf is not None:
50 self.document_shelf.close()
51 if self.temp_dir is not None:
52 self.temp_dir.cleanup()
53
54
55

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected