potiuk commented on PR #30704: URL: https://github.com/apache/airflow/pull/30704#issuecomment-1526472254
> Or maybe there is a third way I'm missing ? With an lru_cache that is not duplicated and that doesn't cache too much ? 1. Make a class methods wrapping the global method call 2. Annotate it with @lru_cache Saves about 80% of the code. -- 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]
