The GitHub Actions job "Tests (ARM)" on airflow.git/main has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 81dbef9f4bdd648e5ddf12709a50d460cad69b21 / Noritaka Sekiyama <[email protected]> Align hook run() annotations with None-able handler results (#69230) * Fix DatabricksSqlHook TypeError when query returns no rows with fetch_one handler DBAPI fetchone() returns None on an empty result set, but the hook's _make_common_data_structure only accepted Row objects or lists of them, so run() with a scalar handler crashed on empty results instead of returning None as the common.sql contract and other providers do. * Widen DbApiHook._make_common_data_structure return type to include None The base implementation passes the handler result through unchanged, and scalar handlers such as fetch_one_handler legitimately return None for empty result sets, so the annotation excluded a value the method already returns. Mypy's override check rejected the Databricks subclass returning None against the narrower supertype annotation. * Align exasol and snowflake run() annotations with None-able handler results These hooks copy the base run() implementation, so their returned result lists can also contain None once the base _make_common_data_structure annotation admits it; mypy rejected the narrower list element type. Report URL: https://github.com/apache/airflow/actions/runs/28576394311 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
