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

クラス OnAddArtifactTag

新しいタグがアーティファクトバージョンに割り当てられます。 例: コレクション “my-collection” 内の任意のアーティファクトバージョンに “prod” タグが割り当てられるたびにトリガーされるイベントを定義します。

メソッド OnAddArtifactTag.__init__

引数:
  • event_type (Literal[ADD_ARTIFACT_TAG]):
  • scope (wandb.automations.scopes._ArtifactSequenceScope | wandb.automations.scopes._ArtifactPortfolioScope | wandb.automations.scopes.ProjectScope): イベントのスコープ。
  • filter (wandb.automations._filters.operators.And | wandb.automations._filters.operators.Or | wandb.automations._filters.operators.Nor | wandb.automations._filters.operators.Not | wandb.automations._filters.operators.Lt | wandb.automations._filters.operators.Gt | wandb.automations._filters.operators.Lte | wandb.automations._filters.operators.Gte | wandb.automations._filters.operators.Eq | wandb.automations._filters.operators.Ne | wandb.automations._filters.operators.In | wandb.automations._filters.operators.NotIn | wandb.automations._filters.operators.Exists | wandb.automations._filters.operators.Regex | wandb.automations._filters.operators.Contains | wandb.automations._filters.expressions.FilterExpr | dict[str, Any]): このイベントがトリガーされるために必要な追加条件 (ある場合) 。
戻り値: OnAddArtifactTag オブジェクト。