from rmatics.utils.cacher import FlaskCacher
from rmatics.utils.cacher.cache_invalidators import MonitorCacheInvalidator
invalidator = MonitorCacheInvalidator(autocommit=False)
monitor_cacher = FlaskCacher(prefix='monitor', cache_invalidator=
    invalidator, allowed_kwargs=['problem_id', 'user_ids', 'time_after',
    'time_before'])

5c8e7c1491e6f44faa70b0954939d452acff230e
<mask token>

<mask token>
invalidator = MonitorCacheInvalidator(autocommit=False)
monitor_cacher = FlaskCacher(prefix='monitor', cache_invalidator=
    invalidator, allowed_kwargs=['problem_id', 'user_ids', 'time_after',
    'time_before'])

from rmatics.utils.cacher import FlaskCacher
from rmatics.utils.cacher.cache_invalidators import MonitorCacheInvalidator
invalidator = MonitorCacheInvalidator(autocommit=False)
monitor_cacher = FlaskCacher(prefix='monitor', cache_invalidator=
    invalidator, allowed_kwargs=['problem_id', 'user_ids', 'time_after',
    'time_before'])
