potiuk commented on PR #33211:
URL: https://github.com/apache/airflow/pull/33211#issuecomment-1669991428

   Another interesting possibility would be to turn the property into 
@cached_property - that might be simpler and work better if we do not care 
about "caching" attribute of it (i.e. what happens if someone changes 
`configuration["query"]["query"]` after first access.
   
   As discussed in 
https://github.com/apache/airflow/pull/33084#discussion_r1287411682 - 
`@cached_property` has this nice feature that it actually defines attribute on 
first use and that attribute can be overridden or deleted.
   
   Maybe that is the best fix @Lee-W @mobuchowski ?


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