Skip to main content

Class wandb.automations.OnRunState

A run state changes.

Args

Literal[RUN_STATE]
wandb.automations.scopes.ProjectScope
The scope of the event: must be a project.
Annotated[wandb.automations.events.RunStateFilter, Json, BeforeValidator(func= None, json_schema_input_type=PydanticUndefined), PlainSerializer(func= None, return_type=PydanticUndefined, when_used='always')]
Run state condition(s) that must be satisfied for this event to trigger.

Examples

Define an event that triggers for any run in project “my-project” when its state changes to “finished” (i.e. succeeded) or “failed”: