Browse Source

Fix a pycodestyle violation

merge-requests/1/head
Drew Short 7 years ago
parent
commit
62febebe8a
  1. 3
      server/atheneum/service/transformation_service.py

3
server/atheneum/service/transformation_service.py

@ -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]]:

Loading…
Cancel
Save