class DataclassAttribute: (source)
Undocumented
| Class Method | deserialize |
Undocumented |
| Method | __init__ |
Undocumented |
| 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 |
Undocumented |
| Method | to_argument |
Undocumented |
| Method | to_var |
Undocumented |
| Instance Variable | column |
Undocumented |
| Instance Variable | has_default |
Undocumented |
| Instance Variable | info |
Undocumented |
| Instance Variable | is_in_init |
Undocumented |
| Instance Variable | is_init_var |
Undocumented |
| Instance Variable | kw_only |
Undocumented |
| Instance Variable | line |
Undocumented |
| Instance Variable | name |
Undocumented |
| Instance Variable | type |
Undocumented |
Undocumented
| Parameters | |
info:TypeInfo | Undocumented |
data:JsonDict | Undocumented |
api:SemanticAnalyzerPluginInterface | Undocumented |
| Returns | |
DataclassAttribute | Undocumented |
| Parameters | |
sub_type:TypeInfo | Undocumented |