def get_last_update_of_model(self, model, **kwargs):
        qs = self.get_for_model(model)
        if kwargs:
            qs = qs.filter(**kwargs)
        try:
            return qs.order_by('-timestamp')[0].timestamp
        except IndexError:
            return datetime.datetime.fromtimestamp(0)
Decorator for marking context dependent filters. The current
dataset/ETHPy150Open jacobian-archive/jellyroll/src/jellyroll/managers.py/ItemManager.get_last_update_of_model--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-flask-skeleton/lib/jinja2/filters.py/contextfilter