Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P96462
Airflow API Client
Active
Public
Actions
Authored by
atsuko
on Wed, Sep 16, 2:26 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Project Tags
None
Referenced Files
F103280084: Airflow API Client
Wed, Sep 16, 2:26 PM
2026-09-16 14:26:59 (UTC+0)
Subscribers
None
from
airflow_client
import
client
# remote client
# from wmf_airflow_common.sensors.rest_helper import get_api_client
# host = "..."
# api_config = client.Configuration(host=host)
# api_client = get_api_client(api_config)
# local client
from
wmf_airflow_common.clients.airflow
import
LocalAirflowApiClientKubernetes
api_client
=
LocalAirflowApiClientKubernetes
()
api_instance
=
client
.
DAGApi
(
api_client
)
api_response
=
api_instance
.
get_dags
()
Event Timeline
atsuko
created this paste.
Wed, Sep 16, 2:26 PM
2026-09-16 14:26:59 (UTC+0)
atsuko
mentioned this in
T436269: Upgrade apache-airflow-client to a 3.3.x version
.
Log In to Comment