Condition
¶
Source code in docs_src/capo_glue/types/condition.py
crawl_state
instance-attribute
¶
crawl_state: NotRequired[CrawlState]
The state of the crawler to which this condition applies.
crawler_name
instance-attribute
¶
crawler_name: NotRequired[NameString]
The name of the crawler to which this condition applies.
job_name
instance-attribute
¶
job_name: NotRequired[NameString]
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
logical_operator
instance-attribute
¶
logical_operator: NotRequired[LogicalOperator]
A logical operator.
state
instance-attribute
¶
state: NotRequired[JobRunState]
The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.