Fix serialize function by using the right members name
This commit is contained in:
parent
61379a609b
commit
72cf11f8e1
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ class RoleMetadata(Base):
|
||||||
|
|
||||||
def serialize(self):
|
def serialize(self):
|
||||||
return dict(
|
return dict(
|
||||||
allow_duplicates = self.allow_duplicates,
|
allow_duplicates = self._allow_duplicates,
|
||||||
dependencies = self.dependencies,
|
dependencies = self._dependencies,
|
||||||
)
|
)
|
||||||
|
|
||||||
def deserialize(self, data):
|
def deserialize(self, data):
|
||||||
|
|
Loading…
Reference in a new issue