Skip to main content

class Automation

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

method Automation.__init__

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