Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Add a flush function to the Run class

Aberta
#590 0 comentários 0 reações 1 responsável Ver no GitHub

@kzscisoft já está trabalhando nisso.

Desde 7/11/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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).

Linguagem predominante
Python
Estrelas
4
Forks
1
Merge médio
22h 21min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de simvue-io/python-api

Todas as issues de simvue-io/python-api

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.