Skip to main content

DocClassAbstractAttrs

ClassDataClassSource

DocClassAbstractAttrs(
methods: list[DocFunction] = [],
properties: list[DocProp] = [],
operators: list[DocOpTemplate] = []
)

Additional abstract attributes of a class. If the class is not abstract, this collection will fall back to None.

Fields​

NameTypeRequired
Description
methodslist[DocFunction]The list of abstract methods of this class.
propertieslist[DocProp]The list of abstract properties of this class.
operatorslist[DocOpTemplate]The list of abstract operators of this class.

Methods​

as_md_text​

v_1: str = self.as_md_text(renderer: ProtocolComponent)

Render as Markdown text.

Requires​

NameTypeRequired
Description
rendererProtocolComponentThe renderer providing component rendering.

Returns​

NameType
Description
v_1strThe Markdown text rendered from the section.

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.