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

Method __init__

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

Source from the content-addressed store, hash-verified

54
55class FrozenDict(OrderedDict):
56 def __init__(self, *args, **kwargs):
57 super().__init__(*args, **kwargs)
58
59 for key, value in self.items():
60 setattr(self, key, value)
61
62 self.__frozen = True
63
64 def __delitem__(self, *args, **kwargs):
65 raise Exception(f"You cannot use ``__delitem__`` on a {self.__class__.__name__} instance.")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected