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

Method __init__

models/flowsep/diffusers/utils/testing_utils.py:546–550  ·  view source on GitHub ↗
(self, logger)

Source from the content-addressed store, hash-verified

544 """
545
546 def __init__(self, logger):
547 self.logger = logger
548 self.io = StringIO()
549 self.sh = logging.StreamHandler(self.io)
550 self.out = ""
551
552 def __enter__(self):
553 self.logger.addHandler(self.sh)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected