MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / setdefault

Method setdefault

src/diffusers/configuration_utils.py:66–67  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

64 raise Exception(f"You cannot use ``__delitem__`` on a {self.__class__.__name__} instance.")
65
66 def setdefault(self, *args, **kwargs):
67 raise Exception(f"You cannot use ``setdefault`` on a {self.__class__.__name__} instance.")
68
69 def pop(self, *args, **kwargs):
70 raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected