我正在做Airflow 1.10。 我在KubernetesPodOperator上运行命令时遇到了问题,在DAG运行时会对整个命令进行评估。正如我从文档中读到的,KubernetesPodOperator需要字符串列表或jinja模板列表: :param arguments: arguments of the entrypoint.我有PythonOperator,它生成命令并将其推送到XCOM和KubernetesPodOperator,在这两个命令的参数中,我传递由PythonOperato
说:You can use Jinja templating with every parameter that is marked as “templated” in the documentation气流自动模板化气流世界中的特定参数(例如PythonOperator的某些参数)是有意义的。我想知道最好的/正确的方法是让一个非气流变量模板化。我的具体用例类似于:from airflow.operators.pytho
我正在尝试编写我们的第一个Airflow DAG,当我尝试使用命令airflow list_tasks orderwarehouse列出任务时,我得到了以下错误 File "/usr/local/lib/python2.7/site-packages/airflow/models.py", line 2038, in resolve_templa