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)
| 128 | raise NotImplementedError() |
| 129 | |
| 130 | def dump_bytecode(self, bucket): |
| 131 | """Subclasses have to override this method to write the bytecode |
| 132 | from a bucket back to the cache. If it unable to do so it must not |
| 133 | fail silently but raise an exception. |
| 134 | """ |
| 135 | raise NotImplementedError() |
| 136 | |
| 137 | def clear(self): |
| 138 | """Clears the cache. This method is not used by Jinja2 but should be |