Skip to main content
GitHub source

class OnLinkArtifact

A new artifact is linked to a collection. Examples: Define an event that triggers when an artifact is linked to the collection “my-collection” with the alias “prod”:

method OnLinkArtifact.__init__

Args:
  • event_type (Literal[LINK_ARTIFACT]):
  • scope (Union[_ArtifactSequenceScope, _ArtifactPortfolioScope, ProjectScope]): The scope of the event.
  • filter (Union[And, Or, Nor, Not, Lt, Gt, Lte, Gte, Eq, Ne, In, NotIn, Exists, Regex, Contains, FilterExpr, Dict[str, Any]]): Additional conditions(s), if any, that are required for this event to trigger.
Returns: An OnLinkArtifact object.