uranusjr edited a comment on issue #19891:
URL: https://github.com/apache/airflow/issues/19891#issuecomment-990728228
A better fix is
```python
if sys.version_info >= (3, 8):
from functools import cached_property
else:
from cached_property import cached_property
```
This is the solution used in `airflow.compat.functools`, which should be
used by “proper” Airflow code. But providers unfortunately cannot use it (yet).
Since `cached_property` is a single-use decorator, simply ignoring the error is
also considered acceptable.
--
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]