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

Use dataclasses in ert.ensemble_evaluator.snapshot #7882

Open
jonathan-eq opened this issue May 13, 2024 · 0 comments
Open

Use dataclasses in ert.ensemble_evaluator.snapshot #7882

jonathan-eq opened this issue May 13, 2024 · 0 comments
Labels
improvement Something nice to have, that will make life easier for developers or users or both.

Comments

@jonathan-eq
Copy link
Contributor

We use pydantic's BaseModel and dictionaries in ert.ensemble_evaluator.snapshot, but BaseModel is heavy and too advanced for our use case, and dictionaries are too basic.
We should refactor this to use dataclasses instead.

@jonathan-eq jonathan-eq added the improvement Something nice to have, that will make life easier for developers or users or both. label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something nice to have, that will make life easier for developers or users or both.
Projects
Status: Todo
Development

No branches or pull requests

1 participant