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

Update content.py #91

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open

Update content.py #91

wants to merge 1 commit into from

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