ScriptRunEvent (autotransform.event.run)

The ScriptRunEvent is triggered whenever an AutoTransform script is run and provides information on the run.

class autotransform.event.run.ScriptRunEvent(data: TData)

Bases: Event[ScriptRunEventData]

A ScriptRunEvent is triggered whenever an AutoTransform script is run. Logs details of the run.

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.run.ScriptRunEventData

Bases: TypedDict

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

args: Dict[str, str]
script: str