simvue-io / python-api

Simvue Python API
https://docs.simvue.io
Apache License 2.0
4 stars 0 forks source link

Support for storing historical runs #492

Open alahiff opened 1 month ago

alahiff commented 1 month ago

Need to be able to manually specify creation, start and end times. To begin with:

This doesn't take into account people using the context manager.

When creating a run the JSON body in the POST can include created and started. If there are no metrics then it can also include endtime and status set to completed. When updating the status of the run to completed the JSON body can include endtime.