gopidesupavan commented on issue #53395:
URL: https://github.com/apache/airflow/issues/53395#issuecomment-3084744014
> No luck for me still, so for now, I'll pass back SFTP and Snowflake to the
community.
>
> ```
> 588 breeze down --cleanup-mypy-cache
> 589 breeze ci-image build --python 3.10
> 590 export SHOW_UNUSED_MYPY_WARNINGS=true
> 591 export SHOW_UNREACHABLE_MYPY_WARNINGS=true
> 592 ./scripts/ci/pre_commit/mypy_folder.py providers/snowflake
> ```
hm interesting i just ran with clean cache
```
Using airflow version from current sources
providers/snowflake/src/airflow/providers/snowflake/utils/sql_api_generate_jwt.py:150:
error:
Subclass of "str" and "bytes" cannot exist: would have incompatible method
signatures [unreachable]
if isinstance(token, bytes):
^~~~~
providers/snowflake/src/airflow/providers/snowflake/utils/sql_api_generate_jwt.py:151:
error:
Statement is unreachable [unreachable]
token = token.decode("utf-8")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in 1 file (checked 46 source files)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]