@cached_property
    def attrs(self):
        return dict((k, getattr(self, k)) for k in self.fields)
Returns Translation attributes to pass as kwargs for creating or updating objects.
dataset/ETHPy150Open ulule/django-linguist/linguist/cache.py/CachedTranslation.attrs