m1racoli commented on PR #47326:
URL: https://github.com/apache/airflow/pull/47326#issuecomment-2698859281

   > Is it possible to do this while keeping the property or cached_property 
decorator? We're trying to get rid of get_conn() since it's redundant with the 
conn property, it would be awkward to have two different means of interacting 
for sync and async like that.
   
   I don't think `@property` or `@cached_property` are compatible with `async` 
at all. And generally speaking they can be tricky as they obfuscate actual work 
being done but evaluate immediately on access and don't allow you to pass them 
around or wrap them.


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

Reply via email to