[英]Facing Issue while comparing xcom value to a static variable in airflow 2.3.4
[英]Extract substring from xcom string in airflow 2.3.4 is returning unknown chararcter t
您必須在您的 DAG 定義中將render_template_as_native_obj
設置為true
,這樣您將獲得作為字典而不是 str 的結果
然后你可以得到任何你想要fy = "{{ ti.xcom_pull(dag_id='" + DAG_ID + "', task_ids='fiscal_yr_week')}}["xcom_yr"]"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.