astro.files
Subpackages
Submodules
Package Contents
Functions
|
Given an Airflow connection ID, identify if it exists. |
- astro.files.check_if_connection_exists(conn_id)
Given an Airflow connection ID, identify if it exists. Return True if it does or raise an AirflowNotFoundException exception if it does not.
- Parameters
conn_id (str) – Airflow connection ID
- Return bool
If the connection exists, return True
- Return type
bool