You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "morelgeorge (via GitHub)" <gi...@apache.org> on 2026/03/17 11:55:14 UTC
[I] PowerBIDatasetRefreshOperator does not work when wait_for_completion = False [airflow]
morelgeorge opened a new issue, #63811:
URL: https://github.com/apache/airflow/issues/63811
### Apache Airflow Provider(s)
microsoft-azure
### Versions of Apache Airflow Providers
apache-airflow-providers-microsoft-azure 13.0.1
apache-airflow-providers-microsoft-azure 13.0.0
### Apache Airflow version
3.1.7
### Operating System
RHEL 9.6
### Deployment
Virtualenv installation
### Deployment details
_No response_
### What happened
Since 13.0.0 operator there is an issue with a new wait_for_completion parameter. Version 13.0.1 successfully fixed issue #62789 when the wait_for_completion is set to True. However, I found out that there is also an issue when the wait_for_completion is set to False.
Then the task is ending with following error:
```
TypeError: cannot serialize object of type <class 'coroutine'>
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py", line 1068 in run
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py", line 1477 in _execute_task
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/bases/operator.py", line 417 in wrapper
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/providers/microsoft/azure/operators/powerbi.py", line 134 in execute
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py", line 421 in xcom_push
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py", line 588 in _xcom_push
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/bases/xcom.py", line 77 in set
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/sdk/bases/xcom.py", line 339 in serialize_value
File "/appl/airflow/lib/lib/python3.12/site-packages/airflow/serialization/serde.py", line 193 in serialize
```
### What you think should happen instead
When wait_for_completion is set to False it should trigger the refresh and finish the task.
### How to reproduce
Use the latest version of microsoft-azure provider and use wait_for_completion = False.
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] PowerBIDatasetRefreshOperator does not work when wait_for_completion = False [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #63811: PowerBIDatasetRefreshOperator does not work when wait_for_completion = False
URL: https://github.com/apache/airflow/issues/63811
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org