Skip to content

Conversation

@gopidesupavan
Copy link
Member

related: #52319

closes: #52585

We should use by_alias=True to convert schema_ for connection result. as the model has schema_

Note: After seeing the model here https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/api_fastapi/execution_api/datamodels/connection.py#L25, we are missing connection description field, will try to get in different PR that change.

After change:

image

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@amoghrajesh
Copy link
Contributor

@gopidesupavan could you create an issue for the description one? It will likely require a cadwyn migration, so feel free to work on it, or assign to me.

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, likely a miss +1

@eladkal eladkal added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jul 2, 2025
@gopidesupavan gopidesupavan merged commit bb93415 into apache:main Jul 2, 2025
58 checks passed
github-actions bot pushed a commit that referenced this pull request Jul 2, 2025
…se by_alias=True for ConnectionResult (#52673)

* Fix connection retrieval in triggerer for schema field, use by_alias=True for ConnectionResult

* Fix connection retrieval in triggerer for schema field, use by_alias=True for ConnectionResult
(cherry picked from commit bb93415)

Co-authored-by: GPK <gopidesupavan@gmail.com>
@github-actions
Copy link

github-actions bot commented Jul 2, 2025

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

github-actions bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Jul 2, 2025
…se by_alias=True for ConnectionResult (apache#52673)

* Fix connection retrieval in triggerer for schema field, use by_alias=True for ConnectionResult

* Fix connection retrieval in triggerer for schema field, use by_alias=True for ConnectionResult
(cherry picked from commit bb93415)

Co-authored-by: GPK <gopidesupavan@gmail.com>
gopidesupavan added a commit that referenced this pull request Jul 2, 2025
…se by_alias=True for ConnectionResult (#52673) (#52691)

* Fix connection retrieval in triggerer for schema field, use by_alias=True for ConnectionResult

* Fix connection retrieval in triggerer for schema field, use by_alias=True for ConnectionResult
(cherry picked from commit bb93415)

Co-authored-by: GPK <gopidesupavan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Triggerer backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants