EventNotifier (autotransform.event.notifier.base)

The base class and associated classes for EventNotifier components.

class autotransform.event.notifier.base.EventNotifier

Bases: NamedComponent

The base for EventNotifier components. Used by AutoTransform to provide logs to the user.

name

The name of the Component.

Type:

ClassVar[CommandName]

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name: ClassVar[EventNotifierName]
abstract notify(event: Event) None

Notifies the user about an Event that is triggered.

Parameters:

event (Event) – The Event to notify the user about.

class autotransform.event.notifier.base.EventNotifierName(value)

Bases: str, Enum

A simple enum for mapping.

CONSOLE = 'console'