ConsoleEventNotifier (autotransform.event.notifier.console)

The implementation for the ConsoleEventNotifier.

class autotransform.event.notifier.console.ConsoleEventNotifier

Bases: EventNotifier

Logs the Event’s message to the console to provide information to the user.

name

The name of the Component.

Type:

ClassVar[CommandName]

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}

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

model_fields: ClassVar[dict[str, FieldInfo]] = {}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

name: ClassVar[EventNotifierName] = 'console'
notify(event: Event) None

Notifies the user about an Event that is triggered.

Parameters:

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