MCPcopy Create free account
hub / github.com/AlayaLab/Hive / __enter__

Method __enter__

models/flowsep/diffusers/utils/testing_utils.py:552–554  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

550 self.out = ""
551
552 def __enter__(self):
553 self.logger.addHandler(self.sh)
554 return self
555
556 def __exit__(self, *exc):
557 self.logger.removeHandler(self.sh)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected