module documentation

Support for the 'attrs' library.

Class Attrib Implements attr.ib/attrs.field.
Class AttribInstance Return value of an attr.ib() call.
Class AttrOverlay A custom overlay for the 'attr' module.
Class Attrs Implements the @attr.s decorator.
Class AttrsNextGenDefine Implements the @attr.define decorator.
Class AttrsOverlay A custom overlay for the 'attrs' module.
Class TypeSource Source of an attrib's `typ` property.
Function get_type_from_default Get the type of an attribute from its default value.
Function is_attrib Undocumented
Function match_classvar Unpack the type parameter from ClassVar[T].
Variable log Undocumented
Class _AttrOverlayBase Base class for the attr and attrs modules, containing common attributes.
Class _NoChange Undocumented
Function _ordering_for_auto_attrib Undocumented
Constant _NO_CHANGE Undocumented
Type Variable _TBaseValue Undocumented
def get_type_from_default(default_var, ctx): (source)

Get the type of an attribute from its default value.

def is_attrib(var): (source)

Undocumented

def match_classvar(typ): (source)

Unpack the type parameter from ClassVar[T].

Undocumented

def _ordering_for_auto_attrib(auto_attrib): (source)

Undocumented

_NO_CHANGE = (source)

Undocumented

Value
_NoChange()
_TBaseValue = (source)

Undocumented

Value
TypeVar('_TBaseValue',
        bound=abstract.BaseValue)