henry3260 commented on PR #59339:
URL: https://github.com/apache/airflow/pull/59339#issuecomment-3745736115

   > After migration to 3.1.6 still having error:
   > 
   > 
   > 
   > `[2026-01-13 15:46:29] ERROR - Task failed with exception source=task 
loc=task_runner.py:1056
   > 
   > AirflowException: ('Entra Id processing error:', TypeError("connect() got 
an unexpected keyword argument '__extra__'"))
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py",
 line 1004 in run
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/airflow/sdk/execution_time/task_runner.py",
 line 1405 in _execute_task
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/airflow/sdk/bases/operator.py",
 line 417 in wrapper
   > 
   > 
   > 
   > File "/opt/airflow/plugins/com/softwaremind/transfers/entraid.py", line 
148 in execute
   > 
   > 
   > 
   > TypeError: connect() got an unexpected keyword argument '__extra__'
   > 
   > File "/opt/airflow/plugins/com/softwaremind/transfers/entraid.py", line 
133 in execute
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/airflow/providers/microsoft/mssql/hooks/mssql.py",
 line 97 in get_sqlalchemy_connection
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py",
 line 3325 in connect
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py",
 line 96 in __init__
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py",
 line 3404 in raw_connection
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/engine/base.py",
 line 3371 in _wrap_pool_connect
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 327 in connect
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 894 in _checkout
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 493 in checkout
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py",
 line 145 in _do_get
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py",
 line 70 in __exit__
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/util/compat.py",
 line 211 in raise_
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/impl.py",
 line 143 in _do_get
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 273 in _create_connection
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 388 in __init__
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 690 in __connect
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py",
 line 70 in __exit__
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/util/compat.py",
 line 211 in raise_
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/pool/base.py",
 line 686 in __connect
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/engine/create.py",
 line 574 in connect
   > 
   > 
   > 
   > File 
"/home/airflow/airflow_venv/lib/python3.12/site-packages/sqlalchemy/engine/default.py",
 line 598 in connect`
   > 
   > 
   > 
   > When extra fields contains as_dict attribute:
   > 
   > 
   > 
   > `{
   > 
   >   "tds_version": "7.3",
   > 
   >   "as_dict": true
   > 
   > }`
   
   Can you open an issue for that?
   Thanks!


-- 
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]

Reply via email to