@cached_property
    def lookup(self):
        lookup = dict((k, getattr(self, k)) for k in self.fields)
        lookup.pop('field_value')
        return lookup
Returns lookup for get() and filter() methods.
dataset/ETHPy150Open ulule/django-linguist/linguist/cache.py/CachedTranslation.lookup