class documentation
class Attribute: (source)
The value of an attr.ib() call.
Class Method | deserialize |
Return the Attribute that was serialized. |
Method | __init__ |
Undocumented |
Method | argument |
Return this attribute as an argument to __init__. |
Method | expand |
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 |
Undocumented |
Instance Variable | info |
Undocumented |
Instance Variable | init |
Undocumented |
Instance Variable | init |
Undocumented |
Instance Variable | kw |
Undocumented |
Instance Variable | name |
Undocumented |
@classmethod
def deserialize(cls, info:
def deserialize(cls, info:
TypeInfo
, data: JsonDict
, api: SemanticAnalyzerPluginInterface
) -> Attribute
:
(source)
¶
Return the Attribute that was serialized.
def __init__(self, name:
str
, info: TypeInfo
, has_default: bool
, init: bool
, kw_only: bool
, converter: Converter|None
, context: Context
, init_type: Type|None
):
(source)
¶
Undocumented