potiuk commented on PR #30704:
URL: https://github.com/apache/airflow/pull/30704#issuecomment-1526494363
BTW. If you really want, you could even annotate it within the non-anonymous
lambda (ie. function inside function. Function in Python can easily be declared
and run inside another function.
```
class Class:
def method(self, .....):
@lru_cache()...
def cached_call():
# body of cached call
....
# body of object method
....
```
--
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]