dabla commented on code in PR #71890:
URL: https://github.com/apache/airflow/pull/71890#discussion_r3979330899
##########
task-sdk/src/airflow/sdk/execution_time/context.py:
##########
@@ -297,7 +297,7 @@ async def _async_get_connection(conn_id: str) -> Connection:
conn = await
sync_to_async(secrets_backend.get_connection)(conn_id) # type:
ignore[assignment]
if conn:
- SecretCache.save_connection_uri(conn_id, conn.get_uri())
+ SecretCache.save_connection_uri(conn_id, await conn.aget_uri())
Review Comment:
Good catch Kaxil will fix this indeed thx.
--
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]