WarningEvent (autotransform.event.warning)

The WarningEvent is a simple, generic event used for logging warning information to the console. This information is not expected to be logged to long term storage and is used when encountering warnings in production environments. More specific events should be created for long term storage cases.

class autotransform.event.warning.WarningEvent(data: TData)

Bases: Event[WarningEventData]

A simple, generic warning event used to log warning information to the console.

static get_logging_level() LoggingLevel

The logging level for events of this type.

Returns:

The logging detail required to log this event.

Return type:

LoggingLevel

static get_type() EventType

Used to represent the type of Event, output to logs.

Returns:

The unique type associated with this Event.

Return type:

EventType

class autotransform.event.warning.WarningEventData

Bases: TypedDict

The data for a WarningEvent. Contains the information that will be logged when the event is triggered.

message: str