|
@ -53,7 +53,8 @@ class BaseTransformer: |
|
|
if value is not None: |
|
|
if value is not None: |
|
|
factory(self.model, value) |
|
|
factory(self.model, value) |
|
|
except KeyError as key_error: |
|
|
except KeyError as key_error: |
|
|
LOGGER.error('Unable to transform field: %s %s', key, key_error) |
|
|
|
|
|
|
|
|
LOGGER.error( |
|
|
|
|
|
'Unable to transform field: %s %s', key, key_error) |
|
|
return self.model |
|
|
return self.model |
|
|
|
|
|
|
|
|
def _serializers(self) -> Dict[str, Callable[[], Any]]: |
|
|
def _serializers(self) -> Dict[str, Callable[[], Any]]: |
|
|