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 2021/11/14 12:32:15 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #19572: Clean up KubernetesPodOperator

uranusjr commented on a change in pull request #19572:
URL: https://github.com/apache/airflow/pull/19572#discussion_r748847866



##########
File path: airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py
##########
@@ -17,10 +17,13 @@
 """Executes task in a Kubernetes POD"""
 import re
 import warnings
+from functools import cached_property

Review comment:
       Airflow still supports Python 3.6 and 3.7, which do not have this function.
   
   ```suggestion
   try:
       from functools import cached_property
   except ImportError:
       from cached_property import cached_property
   ```




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