suii2210 commented on PR #60704: URL: https://github.com/apache/airflow/pull/60704#issuecomment-3764123638
The issue is not related to URL handling in PowerBIHook. It occurs because PowerBIHook (and KiotaRequestAdapterHook) are asynchronous hooks, and they were being called from a synchronous PythonOperator, which is not supported until Airflow 3.2. Using PowerBIOperator (deferred mode) or wrapping the call with asyncio.run() works correctly, and no changes are required in the provider code itself. I’ll close this PR accordingly. Happy to follow up with documentation or example updates if useful. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
