ComponentBase

class app.components.component.ComponentBase[source]

Bases: ComponentSubclassMeta, Generic

Inheritance diagram of ComponentBase

Inheritance Diagram for ComponentBase

Methods

__init__(config, *args, **kwargs)

Attributes

config_class

inside_entrypoint

Returns True if the component is currently inside an entrypoint method.

decimal

config

__init__(config, *args, **kwargs)[source]
Parameters:

config (C)

config_class: TypeVar(C, bound= BaseComponentConfig) = C
decimal: DecimalFactory
property inside_entrypoint: bool

Returns True if the component is currently inside an entrypoint method. This is used to prevent recursive calls to entrypoint methods.