Add a flush function to the Run class
@kzscisoft ci sta già lavorando.
Dal 7/11/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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).
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 1
- Merge medio
- 5g 8h
- PR unite (30g)
- 4
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simvue-io/python-api
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
simvue-io/python-api#994 ·
-
Doesn't work in python 3.10 Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
simvue-io/python-api#986 ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
simvue-io/python-api#538 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
simvue-io/python-api#1004 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
simvue-io/python-api#1000 · 2 commenti ·
Tutte le issue di simvue-io/python-api
Issue simili
-
link-check link-check:sphinx-theme
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
OpenHands/extensions#626 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
CSCfi/sd-search-api#39 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100