Skip to main content

class Automation

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

method Automation.__init__

Args:
  • typename__ (Literal[‘Trigger’]):
  • id (str):
  • created_at (datetime): The date and time when this automation was created.
  • updated_at (datetime.datetime | None): The date and time when this automation was last updated, if applicable.
  • name (str): The name of this automation.
  • description (str | None): An optional description of this automation.
  • enabled (bool): Whether this automation is enabled. Only enabled automations will trigger.
  • scope (wandb.automations.scopes._ArtifactSequenceScope | wandb.automations.scopes._ArtifactPortfolioScope | wandb.automations.scopes.ProjectScope): The scope in which the triggering event must occur.
  • event (SavedEvent): The event that will trigger this automation.
  • action (wandb.automations.actions.SavedLaunchJobAction | wandb.automations.actions.SavedNotificationAction | wandb.automations.actions.SavedWebhookAction | wandb.automations.actions.SavedNoOpAction): The action that will execute when this automation is triggered.
Returns: An Automation object.