Skip to main content

class Automation

*,
__typename: Literal['Trigger'] = 'Trigger',
id: typing.Annotated[str, Strict(strict=True)],
createdAt: datetime.datetime,
updatedAt: datetime.datetime | None = None,
name: str,
description: str | None,
enabled: bool,
scope: typing.Annotated[wandb.automations.scopes._ArtifactSequenceScope | wandb.automations.scopes._ArtifactPortfolioScope | wandb.automations.scopes.ProjectScope, BeforeValidator(func=<function parse_scope>, json_schema_input_type=PydanticUndefined)],
event: wandb.automations.events.SavedEvent,
action: typing.Annotated[wandb.automations.actions.SavedLaunchJobAction | wandb.automations.actions.SavedNotificationAction | wandb.automations.actions.SavedWebhookAction | wandb.automations.actions.SavedNoOpAction, BeforeValidator(func=<function parse_saved_action>, json_schema_input_type=PydanticUndefined)]

Description

A local instance of a saved W&B automation that supports editing.

Args

  • __typename:
  • id:
  • createdAt: The date and time when this automation was created.
  • updatedAt: The date and time when this automation was last updated, if applicable.
  • name: The name of this automation.
  • description: An optional description of this automation.
  • enabled: Whether this automation is enabled. Only enabled automations will trigger.
  • scope: The scope in which the triggering event must occur.
  • event: The event that will trigger this automation.
  • action: The action that will execute when this automation is triggered.