Add a flush function to the Run class
@kzscisoft 已經在處理了。
開始於 2024年11月7日。
評估
這個 Issue 還沒有評估資料。
描述
Sometimes the direct dispatcher is impractical to use, as it results in prohibitively many requests being made to the server. But in these cases, users may still want to be able to query metrics that they have already told a Run to upload.
For this case, we need a .flush() function which will empty any queues in the dispatcher (sending their contents to the server). Crucially, control should not flow out of the .flush() function until all those uploads have finished, so that any subsequent queries of that data are guaranteed to be correct.
The use case that has made this requirement apparent is using connectors (which upload lots of things to a run - so many that the direct dispatcher causes problems) with the optimization framework (where we often want to query the contents of a still-open run just after metrics have been sent to it).
- 主要語言
- Python
- 星號
- 4
- 分支
- 1
- 平均合併
- 7 天 6 小時
- 30 天內合併 PR
- 6
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
simvue-io/python-api 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
simvue-io/python-api#994 ·
-
bug
難度 1/5 1 小時以內 新手友好度 68/100
simvue-io/python-api#538 ·
-
難度 3/5 1-2 天 新手友好度 65/100
simvue-io/python-api#1000 · 2 則留言 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
simvue-io/python-api#987 ·
-
難度 5/5 一週以上 新手友好度 25/100
simvue-io/python-api#932 ·
查看 simvue-io/python-api 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
sublimehq/package_control#1780 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·