class Attribute: (source)
Class Method | deserialize |
Return the Attribute that was serialized. |
Method | __init__ |
Undocumented |
Method | argument |
Return this attribute as an argument to __init__. |
Method | expand_typevar_from_subtype |
Expands type vars in the context of a subtype when an attribute is inherited from a generic super type. |
Method | serialize |
Serialize this object so it can be saved and restored. |
Instance Variable | context |
Undocumented |
Instance Variable | converter |
Undocumented |
Instance Variable | has_default |
Undocumented |
Instance Variable | info |
Undocumented |
Instance Variable | init |
Undocumented |
Instance Variable | init_type |
Undocumented |
Instance Variable | kw_only |
Undocumented |
Instance Variable | name |
Undocumented |
Parameters | |
info:TypeInfo | Undocumented |
data:JsonDict | Undocumented |
api:SemanticAnalyzerPluginInterface | Undocumented |
Returns | |
Attribute | Undocumented |
Parameters | |
ctx:mypy.plugin.ClassDefContext | Undocumented |
Returns | |
Argument | Undocumented |
Parameters | |
sub_type:TypeInfo | Undocumented |