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 9bfc8e0 commit a2c6250Copy full SHA for a2c6250
docs/attributes.rst
@@ -36,10 +36,10 @@ You can write your own attribute class which defines the necessary methods like
36
# attribute
37
attr_type = BINARY
38
39
- def serialize(value):
+ def serialize(self, value):
40
# convert the value to binary and return it
41
42
- def deserialize(value):
+ def deserialize(self, value):
43
# convert the value from binary back into whatever type you require
44
45
0 commit comments