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

Head commit for run:
b3e62e4489565bb699c02b850580e0285824d5ba / Josh Fell <[email protected]>
Handle `multiple_outputs` inferral with PEP 563 + TYPE_CHECKING

Closes: #29435

In the context of the TaskFlow API, when using PEP 563 along with 
`typing.TYPE_CHECKING` DAG import errors are thrown due to the type-hint 
evaluation for `multiple_outputs`. It seems as though the 
`typing_extensions.get_type_hints()` call has an issue with typing imports 
behind `TYPE_CHECKING`.

In the event of a `NameError`, fallback to using `func.__annotations__` to 
retrieve the return type annotation for a TaskFlow function to infer 
`multiple_outputs`.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to