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

Method setdefault

diffusers/src/diffusers/utils/outputs.py:98–99  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

96 raise Exception(f"You cannot use ``__delitem__`` on a {self.__class__.__name__} instance.")
97
98 def setdefault(self, *args, **kwargs):
99 raise Exception(f"You cannot use ``setdefault`` on a {self.__class__.__name__} instance.")
100
101 def pop(self, *args, **kwargs):
102 raise Exception(f"You cannot use ``pop`` on a {self.__class__.__name__} instance.")

Callers 2

set_adaptersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected