Skip to content

Fixing MyPy issue inside tests providers microsoft wasb systems#20967

Merged
potiuk merged 1 commit intoapache:mainfrom
khalidmammadov:mypy_fix_tests_provider_microsoft_wasb
Jan 20, 2022
Merged

Fixing MyPy issue inside tests providers microsoft wasb systems#20967
potiuk merged 1 commit intoapache:mainfrom
khalidmammadov:mypy_fix_tests_provider_microsoft_wasb

Conversation

@khalidmammadov
Copy link
Contributor

Part of #19891

MyPy complains here with [attr-defined] error for PATH_TO_UPLOAD_FILE although that exists in the destination.
It looks like "ignorance" type: ignore[call-arg] inside example_local_to_wasb.py causes MyPy not to follow the path and to not find that variable and causes this error. I know that ignore (type: ignore[call-arg]) has been put in-place for reason hence ignoring this import here.


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

@potiuk potiuk merged commit ddb3f52 into apache:main Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants