MCPcopy Create free account
hub / github.com/TheLastBen/fast-stable-diffusion / __str__

Method __str__

Dreambooth/blocks.py:345–354  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

343 self.inputs_as_dict = inputs_as_dict
344
345 def __str__(self):
346 return str(
347 {
348 "fn": getattr(self.fn, "__name__", "fn")
349 if self.fn is not None
350 else None,
351 "preprocess": self.preprocess,
352 "postprocess": self.postprocess,
353 }
354 )
355
356 def __repr__(self):
357 return str(self)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected