potiuk commented on pull request #9733:
URL: https://github.com/apache/airflow/pull/9733#issuecomment-663841709


   I've also added a comment to "decode" method. I remember (it was discussed 
in one of the bug fixes long time ago) that we can get byte sequence rather 
than string in some cases from the Kubernetes API, so this "if "decode"" is 
there to handle this case. Somehow after the other fixes mypy "understood" that 
the "decode" attribute is checked one line above and it stopped complaining. 


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to