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

Method __init__

diffusers/src/diffusers/utils/testing_utils.py:884–888  ·  view source on GitHub ↗
(self, logger)

Source from the content-addressed store, hash-verified

882 """
883
884 def __init__(self, logger):
885 self.logger = logger
886 self.io = StringIO()
887 self.sh = logging.StreamHandler(self.io)
888 self.out = ""
889
890 def __enter__(self):
891 self.logger.addHandler(self.sh)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected