mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
Implement __reduce__ in StructValue class
This commit is contained in:
parent
fc09a2cedf
commit
8a78a51066
@ -70,6 +70,9 @@ class StructValue(collections.OrderedDict):
|
||||
]
|
||||
)
|
||||
|
||||
def __reduce__(self):
|
||||
return (self.__class__, (self.block,), None, None, iter(self.items()))
|
||||
|
||||
|
||||
class PlaceholderBoundBlock(BoundBlock):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user