MCPcopy Create free account
hub / github.com/huggingface/diffusers / __getattr__

Method __getattr__

src/diffusers/utils/logging.py:311–317  ·  view source on GitHub ↗

Return empty function.

(self, _)

Source from the content-addressed store, hash-verified

309 return iter(self._iterator)
310
311 def __getattr__(self, _):
312 """Return empty function."""
313
314 def empty_fn(*args, **kwargs): # pylint: disable=unused-argument
315 return
316
317 return empty_fn
318
319 def __enter__(self):
320 return self

Callers 1

convertFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected