MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __enter__

Method __enter__

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

Source from the content-addressed store, hash-verified

888 self.out = ""
889
890 def __enter__(self):
891 self.logger.addHandler(self.sh)
892 return self
893
894 def __exit__(self, *exc):
895 self.logger.removeHandler(self.sh)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected