Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix presence with SplitClassDir option, and containing Groups #339

Merged
merged 7 commits into from
Feb 13, 2024

Conversation

JoseIgnacioTamayo
Copy link
Collaborator

Likely solves #336

  • Correct encoding of a model instance after a presence container was set/unset.
  • Generate correct python code with SplitClassDir option, when the model has Presence containers
  • Render correctly Presence containers using groupings

This is a way to indicate that, when unsetting after setting the presence attribute, that the container is no longer there.

This makes the Encoders to properly not show the container after it was unset to NotPresent.

Also, use Python3 exception raise.
This is needed so the parent classes of presenceContainers have the needed local imports.
Make sure it all works with SplitClasses Option,
and serializing after Set/Unset
@JoseIgnacioTamayo JoseIgnacioTamayo merged commit cf4c3bd into master Feb 13, 2024
6 checks passed
@JoseIgnacioTamayo JoseIgnacioTamayo deleted the fix_presence branch February 13, 2024 22:52
@ianbarrere
Copy link

@JoseIgnacioTamayo thanks again for your help here! Do you know when this will be included in a release?

@JoseIgnacioTamayo
Copy link
Collaborator Author

Hi @ianbarrere . I would like to have the currently open PR merged, to make a new release. It should not take long.

@ianbarrere
Copy link

Cool, sounds good! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants