Add a flush function to the Run class
@kzscisoft ya está trabajando en esto.
Desde el 7/11/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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).
- Lenguaje dominante
- Python
- Estrellas
- 4
- Forks
- 1
- Merge medio
- 7 d 6 h
- PR fusionados (30 d)
- 6
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de simvue-io/python-api
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
simvue-io/python-api#994 ·
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
simvue-io/python-api#538 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
simvue-io/python-api#1000 · 2 comentarios ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
simvue-io/python-api#987 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
simvue-io/python-api#932 ·
Todos los issues de simvue-io/python-api
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
stephrobert/dsoxlab#238 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
sublimehq/package_control#1780 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nwg-piotr/nwg-displays#145 ·