You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/01 12:24:21 UTC

[GitHub] [airflow] potiuk commented on issue #19891: Re-enable MyPy

potiuk commented on issue #19891:
URL: https://github.com/apache/airflow/issues/19891#issuecomment-1003551965


   > I briefly looked at vertica_to_mysql.py, tmpfile is accessed here in this block
   
   IT's because if it kinda distributed - opening using and closing of the tmpfille are happening only if "self.bulk_load" is True, so tmpfile will never be None there. - but MyPY is not analysing it that deeply.
   
   I'd say we should refactor this method a bit. Let me attempt it


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org