Skip to main content

AbstractAttrs

ClassDataClassSource

AbstractAttrs(
properties: list[property | cached_property] = [],
methods: list[function | classmethod | staticmethod] = [],
operators: dict[str, function] = dict(...)
)

The temporary abstract attributes of a class.

This collection will be available when a temporary class profile is abstract.

Fields

NameTypeRequired
Description
propertieslist[property | cached_property]All abstract properties of this class.
methodslist[function | classmethod | staticmethod]All abstract instance/class/static methods of this class.
operatorsdict[str, function]All overloaded abstract operators of this class.