Add a flush function to the Run class
@kzscisoft đang làm issue này rồi.
Từ ngày 7/11/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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).
- Ngôn ngữ chính
- Python
- Star
- 4
- Fork
- 1
- Merge trung bình
- 5 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 4
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của simvue-io/python-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
simvue-io/python-api#994 ·
-
Doesn't work in python 3.10 Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
simvue-io/python-api#986 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
simvue-io/python-api#538 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
simvue-io/python-api#1004 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
simvue-io/python-api#1000 · 2 bình luận ·
Tất cả issue của simvue-io/python-api
Issue tương tự
-
area/auth bug comp/agent P3 platform/discord type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#117848 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
bancolombia/sentinel#23 ·
-
test md Đang mởCI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100