mjpieters opened a new pull request #11558:
URL: https://github.com/apache/airflow/pull/11558


   If the `kubernetes.client` import fails, then 
`airflow.kubernetes.pod_generator` also can't be imported, and there won't be 
attributes on `k8s` to use in `isinstance()` calls.
   
   Instead of setting `k8s` to `None`, use an explicit flag so later code can 
disable kubernetes-specific branches explicitly.
   
   closes: #11556 


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