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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]