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

Method __setitem__

diffusers/src/diffusers/configuration_utils.py:81–84  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

79 super().__setattr__(name, value)
80
81 def __setitem__(self, name, value):
82 if hasattr(self, "__frozen") and self.__frozen:
83 raise Exception(f"You cannot use ``__setattr__`` on a {self.__class__.__name__} instance.")
84 super().__setitem__(name, value)
85
86
87class ConfigMixin:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected