MCPcopy Index your code
hub / github.com/huggingface/diffusers / reset_format

Function reset_format

src/diffusers/utils/logging.py:276–285  ·  view source on GitHub ↗

Resets the formatting for 🤗 Diffusers' loggers. All handlers currently bound to the root logger are affected by this method.

()

Source from the content-addressed store, hash-verified

274
275
276def reset_format() -> None:
277 """
278 Resets the formatting for 🤗 Diffusers' loggers.
279
280 All handlers currently bound to the root logger are affected by this method.
281 """
282 handlers = _get_library_root_logger().handlers
283
284 for handler in handlers:
285 handler.setFormatter(None)
286
287
288def warning_advice(self, *args, **kwargs) -> None:

Callers

nothing calls this directly

Calls 1

_get_library_root_loggerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…