The GitHub Actions job "Tests" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by Lee-W).

Head commit for run:
dda8d2786710c72791b821f70c8b6f43c19e0b1e / Leondon9 
<[email protected]>
Fix `airflowctl connections import` failure when JSON omits `extra` field 
(#62662)

* Fix `airflowctl connections import` failure when JSON omits `extra` field

When the `extra` key is absent from a connection JSON entry, the default
value `{}` (dict) is incompatible with the `ConnectionBody.extra` field
which expects `str | None`. Removing the default lets `v.get("extra")`
return `None`, matching the model's type annotation.

closes: #62653

Co-Authored-By: claude-flow <[email protected]>

* Add regression test for connection import without extra field

Covers the case where `extra` is omitted from the JSON input,
which caused a Pydantic ValidationError before the fix.

Co-Authored-By: claude-flow <[email protected]>

---------

Co-authored-by: claude-flow <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to