class Exportable: """Returns all fields data for export.""" @property def data(self) -> Dict: return { field.name: getattr(self, field.name, None) for field in self._meta.fields }