Skip to content
This repository was archived by the owner on Apr 29, 2023. It is now read-only.

Update content.py#91

Open
mattgately wants to merge 1 commit intopabigot:nextfrom
mattgately:patch-1
Open

Update content.py#91
mattgately wants to merge 1 commit intopabigot:nextfrom
mattgately:patch-1

Conversation

@mattgately
Copy link

When programmatically setting an attribute to None, mark attribute as being not provided and having default value, the same is when loading from xml without a provided value. Currently just marks attribute as not provided, but any subsequent access to attribute will return None, which is general is not what is desired, since serializing the model and then reading it back in would give you the default value and not None.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant