airflow_nomad.Nomad

class airflow_nomad.Nomad(dag: DAG, cfg: NomadAirflowConfiguration | dict[str, Any], **kwargs: Any)[source]

Bases: object

Airflow 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_job

cleanup_nomad

configure_nomad

leaves

nomad_client

register_job

restart_job

roots

stop_job