Subclasses have to override this method to write the bytecode from a bucket back to the cache. If it unable to do so it must not fail silently but raise an exception.
(self, bucket: Bucket)
| 137 | raise NotImplementedError() |
| 138 | |
| 139 | def dump_bytecode(self, bucket: Bucket) -> None: |
| 140 | """Subclasses have to override this method to write the bytecode |
| 141 | from a bucket back to the cache. If it unable to do so it must not |
| 142 | fail silently but raise an exception. |
| 143 | """ |
| 144 | raise NotImplementedError() |
| 145 | |
| 146 | def clear(self) -> None: |
| 147 | """Clears the cache. This method is not used by Jinja but should be |