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/08/13 09:36:05 UTC

[GitHub] [airflow] kaxil commented on pull request #17597: Use built-in ``cached_property`` on Python 3.8 for Asana provider

kaxil commented on pull request #17597:
URL: https://github.com/apache/airflow/pull/17597#issuecomment-898329117


   > Oops, I missed #14606 and it’s already merged. There’s actually a shim for this:
   > 
   > ```python
   > from airflow.compat.functools import cached_property
   > ```
   > 
   > And it handles type hint better; I added a `functools.pyi` file to manually provide the annotation.
   
   I intentionally skipped providers so that users can use this version of provider in older version of Airflow that does not contain `from airflow.compat.functools` module


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