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.

Properties​

is_not_implemented​

is_not_implemented: bool = self.is_not_implemented

A flag. If it is True, the abstract class still have the methods that are not implemented.