メインコンテンツへスキップ

クラス Automation

保存済みの W&B automation を編集できるローカルインスタンスです。

メソッド Automation.__init__

__init__(
    typename__: 'Literal['Trigger']' = 'Trigger',
    id: 'str',
    created_at: 'datetime',
    updated_at: 'datetime.datetime | None' = None,
    name: 'str',
    description: 'str | None',
    enabled: 'bool',
    scope: 'wandb.automations.scopes._ArtifactSequenceScope | wandb.automations.scopes._ArtifactPortfolioScope | wandb.automations.scopes.ProjectScope',
    event: 'SavedEvent',
    action: 'wandb.automations.actions.SavedLaunchJobAction | wandb.automations.actions.SavedNotificationAction | wandb.automations.actions.SavedWebhookAction | wandb.automations.actions.SavedNoOpAction'
) → None
引数:
  • typename__ (Literal[‘Trigger’]):
  • id (str):
  • created_at (datetime): このオートメーションが作成された日時。
  • updated_at (datetime.datetime | None): 該当する場合、このオートメーションが最後に更新された日時。
  • name (str): このオートメーションの名前。
  • description (str | None): このオートメーションの説明 (省略可能) 。
  • enabled (bool): このオートメーションが有効かどうか。有効なオートメーションのみがトリガーされます。
  • scope (wandb.automations.scopes._ArtifactSequenceScope | wandb.automations.scopes._ArtifactPortfolioScope | wandb.automations.scopes.ProjectScope): トリガー対象のイベントが発生するスコープ。
  • event (SavedEvent): このオートメーションをトリガーするイベント。
  • action (wandb.automations.actions.SavedLaunchJobAction | wandb.automations.actions.SavedNotificationAction | wandb.automations.actions.SavedWebhookAction | wandb.automations.actions.SavedNoOpAction): このオートメーションがトリガーされたときに実行されるアクション。
戻り値: Automation オブジェクト。