Skip to content

Add a result object for calculators #209

@jimnel

Description

@jimnel

Currently it may not be clear to users what the calculate method in the calculators does. Instead of storing results in the class, we should return a result object. A dataclass would be a good choice here.

A prototype could be

Results(
   final_state=...,
   ...,
)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions