@ -34,4 +34,8 @@ class RecursiveProperty:
# Fill instance with dict
recursive_property.__dict__ = property_dict
# Add property_key as property, because previous line removed it.
recursive_property.property_key = property_key
return recursive_property
@ -21,7 +21,7 @@ class YamlSerializable(RecursiveProperty):
required_attributes = ['name']
def __init__(self):
self.property_key='name'
super().__init__('name')
@classmethod
#@property