airflow_nomad.Nomad¶
- class airflow_nomad.Nomad(dag: DAG, cfg: NomadAirflowConfiguration | dict[str, Any], **kwargs: Any)[source]¶
Bases:
objectAirflow task group for a Nomad-managed job.
- __init__(dag: DAG, cfg: NomadAirflowConfiguration | dict[str, Any], **kwargs: Any)[source]¶
Methods
__init__(dag, cfg, **kwargs)get_base_operator_kwargs()get_step_kwargs(step)get_step_operator(step)initialize_tasks()set_downstream(other)set_upstream(other)setup_dag()update_relative(other[, upstream, edge_modifier])Attributes
check_jobcleanup_nomadconfigure_nomadleavesnomad_clientregister_jobrestart_jobrootsstop_job