메인 콘텐츠로 건너뛰기
GitHub 소스

class RunStateFilter

run 상태 변경을 기반으로 이벤트를 트리거하기 위한 필터를 나타냅니다.

method RunStateFilter.__init__

__init__(
    run: 'And | Or | Nor | Not | Lt | Gt | Lte | Gte | Eq | Ne | In | NotIn | Exists | Regex | Contains | FilterExpr | dict[str, Any]' = And(()),
    state: 'StateFilter'
) → None
인수(Args):
  • run (Union[And, Or, Nor, Not, Lt, Gt, Lte, Gte, Eq, Ne, In, NotIn, Exists, Regex, Contains, FilterExpr, Dict[str, Any]]): 이 이벤트를 트리거할 run을 선택하는 필터.
  • state (StateFilter): 이 이벤트가 트리거되려면 만족해야 하는 run 상태 조건.
반환값(Returns): RunStateFilter 객체를 반환합니다.