We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ba495 commit 0ec347cCopy full SHA for 0ec347c
src/labthings/schema.py
@@ -56,13 +56,13 @@ def serialize(self, value):
56
57
return self.field.serialize("value", obj)
58
59
- def dump(self, value: Any, *_): # pylint: disable=arguments-differ
+ # We disable pylint unused-argument so we can keep the same signature as the base class
60
+ # pylint: disable=unused-argument
61
+ def dump(self, obj: Any, *, many: Optional[bool] = None):
62
"""
-
63
:param value:
64
65
- return self.serialize(value)
+ return self.serialize(obj)
66
67
68
class LogRecordSchema(Schema):
0 commit comments