Skip to content

Commit

Permalink
Fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Jun 15, 2024
1 parent 872ce6d commit 9e121bd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mashumaro/core/meta/types/unpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,11 @@ def _add_body(self, spec: ValueSpec, lines: CodeLines) -> None:
lines.append("except Exception: pass")
# if len(ambiguous_unpacker_types) >= 2:
# warnings.warn(
# f"{type_name(spec.builder.cls)}.{spec.field_ctx.name} ({type_name(spec.type)}): "
# "In the next release, data marked with Union type containing "
# "'str' and 'bool' will be coerced to the value of the type "
# "specified first instead of passing it as is"
# f"{type_name(spec.builder.cls)}.{spec.field_ctx.name} "
# f"({type_name(spec.type)}): "
# "In the next release, data marked with Union type "
# "containing 'str' and 'bool' will be coerced to the value "
# "of the type specified first instead of passing it as is"
# )
field_type = spec.builder.get_type_name_identifier(
typ=spec.type,
Expand Down

0 comments on commit 9e121bd

Please sign in to comment.