API reference

Airflow lifecycle

Systemd(dag, cfg, **kwargs)

Airflow task group for a locally managed systemd job.

SystemdSSH(dag, cfg[, host])

Airflow task group for a systemd job managed over SSH.

AirflowSSHCommandRunner([hook, ...])

Run SystemdClient commands through an Airflow SSHHook.

SystemdAirflowConfiguration

Systemd configuration for an Airflow-managed job.

SystemdSSHAirflowConfiguration

Systemd configuration for a job managed over SSH.

SystemdTask

SystemdTaskArgs

SystemdSSHTask

SystemdSSHTaskArgs

load_airflow_config([config_dir, ...])

load_airflow_ssh_config([config_dir, ...])

Re-exported systemd models

ServiceConfiguration

Process supervision settings from a systemd [Service] section.

ServiceUnitConfiguration

TimerConfiguration

Activation settings from a systemd [Timer] section.

TimerUnitConfiguration

SystemdConfiguration

Named collection of systemd service and timer unit files.

SystemdConvenienceConfiguration

Systemd defaults and persisted state used by convenience commands.

SystemdClient(cfg[, runner])

UnitInfo