Forum Discussion
Not able to send job_params using Apache Airflow FabricRunItemOperator() using job_params option
- 1 year ago
Actualiza el plugin de Airflow. Es posible que estes utilizando una versión desactualizada del plugin "apache-airflow-microsoft-fabric-plugin. Considera actualizarlo a la versión más reciente para garantizar la compatibilidad y el soporte adecuados.
- Anonymous1 year ago
Hi KrishnaiahDarla ,
Thank you DP700_Pro for the helpful response.
As DP700_Pro suggeted, consider updating it to the latest version to ensure compatibility and proper support. If our answer resolved your query, please mark it as "accept as solution" ,it will be helpful for other members of the community who have similar problems as yours to solve it faster.
If you need any further assistance, feel free to reach out.
Thank you for being a valued member in Microsoft Fabric Community Forum!
with DAG(
'landing_workflows.py',
default_args=default_args,
description='landing workflows',
schedule="@hourly",
catchup=False
) as dag:
run_disk_storage = FabricRunItemOperator(
task_id="storage_task",
fabric_conn_id="fabric_conn",
workspace_id="",
item_id="",
job_type="RunNotebook",
job_params={
'param1': 'value1'
},
wait_for_termination=True,
)
run_disk_storage
Never mind guys.. The params dict needs to be structured like this ... if anyoine have a similar issue.
Hope this helps.
{
"paramname": {
"value": "paramvalue",
"type": "string"
}
}
- Chris_wright1 year agoRegular Visitor
this worked for me thanks
i can now orchestrate complex DAG with airflow in fabric
job_params={"workspace": {"value": workspace,"type": "string",},"bronzelakehouse": {"value": bronzelakehouse,"type": "string",},"silverlakehouse": {"value": silverlakehouse,"type": "string",},}