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

Method __enter__

prop/preprocessing_data.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 return self.document_shelf[str(item)]
44
45 def __enter__(self):
46 return self
47
48 def __exit__(self, exc_type, exc_val, traceback):
49 if self.document_shelf is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected