MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / setdefault

Method setdefault

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

Source from the content-addressed store, hash-verified

65 raise Exception(f"You cannot use ``__delitem__`` on a {self.__class__.__name__} instance.")
66
67 def setdefault(self, *args, **kwargs):
68 raise Exception(f"You cannot use ``setdefault`` on a {self.__class__.__name__} instance.")
69
70 def pop(self, *args, **kwargs):
71 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