def to_representation(self, value):
value = super(LegacyMixin, self).to_representation(value)
non_null_fields = getattr(getattr(self, 'Meta', None), 'legacy_non_null_fields', [])
def to_representation(self, value):
value = super(LegacyMixin, self).to_representation(value)
non_null_fields = getattr(getattr(self, 'Meta', None), 'legacy_non_null_fields', [])