When you deploy Apache Airflow®,
you can add Python dependencies using a requirements.txt file.
Managed Apache Airflow® on DoubleCloud allows you to edit this file in the cluster settings in the console.
You can use this option for installing Python dependencies available from PyPI.
If you want to use a dependency or package in a different language or not available publicly,
create and upload a custom container image with Apache Airflow® instead.
Note
Adding dependencies via requirements.txt in the console is an alternative to
using a custom container image,
and you can use only one of the options at a time.
If you add dependencies to requirements.txt after you’ve selected a custom image,
the custom image is disabled,
and the standard Apache Airflow® image with dependencies from requirements.txt is deployed.
Add dependencies
To add Python dependencies, take the following steps: