Tim-Oliver
05/05/2023, 12:05 PMA
which produces a result which I don't want to persist but just keep in memory. This result is consumed by multiple invocations of task B
. Once all invocations of task B
are done I don't need the result of task A
anymore and would like to remove it from the cache to free up some memory. How could I achieve this?
Thanks!Tim-Oliver
05/05/2023, 12:20 PMtask_run.result()._cache = None
work?