airflow_systemd.Systemd

class airflow_systemd.Systemd(dag: DAG, cfg: SystemdAirflowConfiguration | dict, **kwargs: Any)[source]

Bases: object

Airflow task group for a locally managed systemd job.

__init__(dag: DAG, cfg: SystemdAirflowConfiguration | dict, **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_services

configure_systemd

leaves

restart_services

roots

start_services

stop_services

systemd_client

unconfigure_systemd