MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / __enter__

Method __enter__

src/diffusers/utils/testing_utils.py:792–794  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

790 self.out = ""
791
792 def __enter__(self):
793 self.logger.addHandler(self.sh)
794 return self
795
796 def __exit__(self, *exc):
797 self.logger.removeHandler(self.sh)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected