Help on class DynamicClassAttribute in types: types.DynamicClassAttribute = class DynamicClassAttribute(builtins.object) | types.DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None) | | Route attribute access on a class to __getattr__. | | This is a descriptor, used to define attributes that act differently when | accessed through an instance and through a class. Instance access remains | normal, but access to an attribute through a class will be routed to the | class's __getattr__ method; this is done by raising AttributeError. | | This allows one to have properties active on an instance, and have virtual | attributes on the class with the same name. (Enum used this between Python | versions 3.4 - 3.9 .) | | Subclass from this to use a different method of accessing virtual attributes | and still be treated properly by the inspect module. (Enum uses this since | Python 3.10 .) | | Methods defined here: | | __delete__(self, instance) | | __get__(self, instance, ownerclass=None) | | __init__(self, fget=None, fset=None, fdel=None, doc=None) | Initialize self. See help(type(self)) for accurate signature. | | __set__(self, instance, value) | | deleter(self, fdel) | | getter(self, fget) | | setter(self, fset) | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables | | __weakref__ | list of weak references to the object
Generated by phpman v4.12.29 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-12-02 00:53 @216.73.216.10
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)