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

Create a new class Container/DessiaObjectList/DessiaObjectContainer #712

Open
1 of 2 tasks
GabrielJMS opened this issue Sep 4, 2024 · 1 comment
Open
1 of 2 tasks
Assignees
Labels
Priority: High Issue has a high dev/value ratio

Comments

@GabrielJMS
Copy link

GabrielJMS commented Sep 4, 2024

**Note: for support questions, please use https://nextcloud.dessia.tech/call/hr9z9bif

  • I'm submitting a ...
    • bug report
    • feature request

I need an object that accepts a list of objects inhering from DessiaObject/SerializableObject.

Use case:
when doing unittests sometimes we need to save lots of .json files to save volmdlr objects. With a Container class I can save all the objects in only one file. Today we make an workaround using VolumeModel, but this won't be accepted anymore in futures releases because we will have to restrict the type of objects that VolumeModel accepts. So, Container can accept any object inheriting from DessiaObject

  • branch:
  • commit:
  • python version:
@GabrielJMS GabrielJMS added the Priority: High Issue has a high dev/value ratio label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Issue has a high dev/value ratio
Projects
None yet
Development

No branches or pull requests

3 participants
@GhislainJ @GabrielJMS and others