Skip to content

Commit

Permalink
[hotfix][python] Fix flake8 check E523 error for format method has un…
Browse files Browse the repository at this point in the history
…used arguments (apache#19822)
  • Loading branch information
a49a authored May 27, 2022
1 parent 0b139a1 commit 5ae21e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def serialize(self, obj):
values = [float(v) for v in obj._values]
return 1, None, None, values
else:
raise TypeError("Cannot serialize %r of type %r".format(obj, type(obj)))
raise TypeError("Cannot serialize {!r} of type {!r}".format(obj, type(obj)))

def deserialize(self, datum):
pass
Expand Down

0 comments on commit 5ae21e7

Please sign in to comment.