class documentation
class Attribute: (source)
Represents a class member variable. Members: name: field name typ: field python type init: Whether the field should be included in the generated __init__ kw_only: Whether the field is kw_only in the generated __init__ default: Default value kind: Kind of attribute (see the AttributeKinds enum) Used in metadata (see Class.metadata below).
Class Method | from |
Undocumented |
Class Method | from |
Generate an Attribute from a pytd.Constant. |
Method | __repr__ |
Undocumented |
Method | to |
Undocumented |
Class Variable | default |
Undocumented |
Class Variable | init |
Undocumented |
Class Variable | init |
Undocumented |
Class Variable | kind |
Undocumented |
Class Variable | kw |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | pytd |
Undocumented |
Class Variable | typ |
Undocumented |