Get the current bytes in cache and the maximum that would be allowed in the cache.
(self)
| 116 | |
| 117 | @property |
| 118 | def cached_memory(self) -> tuple[int, int]: |
| 119 | """ |
| 120 | Get the current bytes in cache and the maximum that would be |
| 121 | allowed in the cache. |
| 122 | """ |
| 123 | return option(Option.GET_CACHED_MEMORY) |
| 124 | |
| 125 | def enable_caching(self, value: bool = True) -> None: |
| 126 | """ |