Class | DataclassAttribute |
No class docstring; 0/9 instance variable, 1/5 method, 0/1 class method documented |
Class | DataclassTransformer |
No class docstring; 0/1 instance variable, 6/9 methods documented |
Function | dataclass_class_maker_callback |
Hooks into the class typechecking process to add support for dataclasses. |
Constant | dataclass_makers |
Undocumented |
Constant | field_makers |
Undocumented |
Constant | SELF_TVAR_NAME |
Undocumented |
Function | _collect_field_args |
Returns a tuple where the first value represents whether or not the expression is a call to dataclass.field and the second is a dictionary of the keyword arguments that field() was called with. |
Parameters | |
ctx:ClassDefContext | Undocumented |
Parameters | |
expr:Expression | Undocumented |
ctx:ClassDefContext | Undocumented |
Returns | |
Tuple[ | Undocumented |