simvue-io / simvue-io/python-api
Support for storing historical runs
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- Python
- 星标
- 4
- 派生
- 1
- 平均合并
- 5 天 8 小时
- 30 天内合并 PR
- 4
描述
Need to be able to manually specify creation, start and end times. To begin with:
Run.init()needs additional optionscreated,startedandendtime(or similar). If not set, the server will set them (as it does now).Run.close()needs an additional timestamp option for specifying the end time. If not set, the server will set it (as it does now).
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 Run.init() 和 Run.close(),然后检查它们的 JSON body 是如何为创建和完成 run 组装的。考虑 context manager 路径,并验证可选的历史时间戳会保留当前服务器默认值,而已完成的 run 会发送必需的状态和结束时间。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100