Skip to content

Commit

Permalink
Fixed line length
Browse files Browse the repository at this point in the history
  • Loading branch information
eblis committed Apr 9, 2020
1 parent ee5b388 commit 177ef80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dataclasses_json/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ def _decode_dataclass(cls, kvs, infer_missing):
except KeyError as ex:
qualified = f"{cls.__module__}.{cls.__qualname__}"
args = ", ".join(ex.args)
raise DataclassSerializationException(f"Error decoding dataclass {qualified} encountered at field {args}") from ex
raise DataclassSerializationException(
"Error decoding dataclass {qualified} encountered "
"at field {args}") from ex
field_type = types[field.name]
if field_value is None and not _is_optional(field_type):
warning = (f"value of non-optional type {field.name} detected "
Expand Down

0 comments on commit 177ef80

Please sign in to comment.