Skip to content

Fix mypy errors resulting from typing updates in marshmallow#22044

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:fix-static-check-failure-in-main
Mar 7, 2022
Merged

Fix mypy errors resulting from typing updates in marshmallow#22044
potiuk merged 1 commit intoapache:mainfrom
potiuk:fix-static-check-failure-in-main

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 7, 2022

Marshmallow library has now better typing and mypy detected
a potential problem with messages not always being dict in
ValidationError. Switched to normalized_messages to fix it.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

Marshmallow library has now better typing and mypy detected
a potential problem with messages not always being dict in
ValidationError. Switched to normalized_messages to fix it.
@potiuk potiuk requested review from eladkal, malthe and uranusjr March 7, 2022 09:51
@potiuk
Copy link
Member Author

potiuk commented Mar 7, 2022

I missed the static check failiure when merging #18590 :(

@potiuk
Copy link
Member Author

potiuk commented Mar 7, 2022

All Green here :)

@potiuk potiuk requested a review from ashb March 7, 2022 10:27
@potiuk
Copy link
Member Author

potiuk commented Mar 7, 2022

Fixes failing main

@potiuk potiuk requested a review from mik-laj March 7, 2022 10:28
@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Mar 7, 2022
@github-actions
Copy link

github-actions bot commented Mar 7, 2022

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk merged commit 2ab8f24 into apache:main Mar 7, 2022
@potiuk potiuk deleted the fix-static-check-failure-in-main branch March 7, 2022 10:29
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 8, 2022
@potiuk potiuk restored the fix-static-check-failure-in-main branch April 26, 2022 20:50
@potiuk potiuk deleted the fix-static-check-failure-in-main branch July 29, 2022 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) okay to merge It's ok to merge this PR as it does not require more tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants