add cfg.cache.reset

This commit is contained in:
2019-02-10 21:14:32 +01:00
parent 9ffd2e6505
commit 688525f98e
3 changed files with 7 additions and 4 deletions

View File

@ -1227,6 +1227,11 @@ class _TiramisuContextMetaConfig(_TiramisuContextGroupConfig, _TiramisuContextCo
return Config(self._config_bag.context.pop_config(session_id=session_id))
class TiramisuContextCache(TiramisuContext):
def reset(self):
self._config_bag.context.cfgimpl_reset_cache(None, None)
class TiramisuDispatcher:
pass