class documentation

class DataclassAttribute: (source)

View In Hierarchy

Undocumented

Class Method deserialize Undocumented
Method __init__ Undocumented
Method expand_type 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 alias 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
def __init__(self, name: str, alias: str|None, is_in_init: bool, is_init_var: bool, has_default: bool, line: int, column: int, type: Type|None, info: TypeInfo, kw_only: bool): (source)

Undocumented

def expand_type(self, current_info: TypeInfo) -> Optional[Type]: (source)

Undocumented

def expand_typevar_from_subtype(self, sub_type: TypeInfo): (source)

Expands type vars in the context of a subtype when an attribute is inherited from a generic super type.

def serialize(self) -> JsonDict: (source)

Undocumented

def to_argument(self, current_info: TypeInfo) -> Argument: (source)

Undocumented

def to_var(self, current_info: TypeInfo) -> Var: (source)

Undocumented

Undocumented

Undocumented

has_default = (source)

Undocumented

Undocumented

is_in_init = (source)

Undocumented

is_init_var = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented