The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user m1racoli (triggered by m1racoli).

Head commit for run:
18e0f76daf5875343783b72442fad9e89235e8b6 / Cedrik Neumann 
<[email protected]>
fix: don't use blocking property access for async purposes

The AwsGenericHook provides the `@property` decorated function `async_conn`
for building and accessing the async boto3 client. Unfortunately, this
is results in blocking calls to the Airflow Db or secrets backends within async 
contexts.

This PR provides an async method `get_async_conn` as an alternative that can be 
awaited
in async contexts. This method will call the underlying sync code in a
`sync_to_async` wrapper.

The `async_conn` property is now deprecated and will be removed in future 
versions.

Report URL: https://github.com/apache/airflow/actions/runs/13643306829

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to