Skip to content

Commit

Permalink
Add return annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Jun 20, 2023
1 parent 468db34 commit 8c2f481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mashumaro/core/meta/code/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def _unpack_method_set_value(
f"'{fname}',{field_type},{packed_value},cls)"
)

def __unpack_set_value(self, fname, unpacked_value, kwargs_only):
def __unpack_set_value(self, fname, unpacked_value, kwargs_only) -> None:
if kwargs_only:
self.add_line(f"kwargs['{fname}'] = {unpacked_value}")
else:
Expand Down

0 comments on commit 8c2f481

Please sign in to comment.