I've seen that some of my running DAGs from Airflo...
# troubleshoot
f
I've seen that some of my running DAGs from Airflow are not getting imported in Datahub. It looks like this error is caused by when the DAGs is configured with a template of the Param Class ;I don't know exactly why this error occours, but it could be relate to type of params, which is a dictionary type. Issue:https://github.com/datahub-project/datahub/issues/4546
d
Can you try to use Param as it is the new style of specifying params? -> https://airflow.apache.org/docs/apache-airflow/2.2.1/concepts/params.html Here is an issue which I think is related in Airflow -> https://github.com/apache/airflow/issues/21082
f
Hi @dazzling-judge-80093, sorry for late reply. I've tried using Param in the new style but the error continue occuring when running the DAG.
_params_={"reference_date": Param("YYYY-MM-DD")},
I've found another issue #20636 in Airflow repository, and it says that this problem can happen if there is a same params variable name in a custom operator. But I do not know how to proceed to fix this.
Now it's working! Thank you all 👍
d
Awesome
Thanks for confirming