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

Method __init__

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

Source from the content-addressed store, hash-verified

53
54class FrozenDict(OrderedDict):
55 def __init__(self, *args, **kwargs):
56 super().__init__(*args, **kwargs)
57
58 for key, value in self.items():
59 setattr(self, key, value)
60
61 self.__frozen = True
62
63 def __delitem__(self, *args, **kwargs):
64 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