Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve parsing of HTTP errors in Task SDK API client #44044

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

ashb
Copy link
Member

@ashb ashb commented Nov 14, 2024

There was a logic bug where a non-list detail error was not parsing correctly
causing a different error (pydantic ValidationError, rather than a 404 error)


^ 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 newsfragments.

There was a logic bug where a non-detail error was not parsing correctly
causing a _different_ error (pydantic ValidationError, rather than a 404 error)
@ashb ashb added the area:task-execution-interface-aip72 AIP-72: Task Execution Interface (TEI) aka Task SDK label Nov 14, 2024
@ashb ashb merged commit fe4aafe into main Nov 14, 2024
51 checks passed
@ashb ashb deleted the task-sdk-error-parsing-fix branch November 15, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:task-execution-interface-aip72 AIP-72: Task Execution Interface (TEI) aka Task SDK area:task-sdk
Development

Successfully merging this pull request may close these issues.

2 participants