Enhancement: Add missing **kwargs support to list_setups and list_evaluations
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 84/100
Hướng nghiên cứu
Tìm các triển khai connector Python của list_setups và list_evaluations, sau đó so sánh chúng với list_tasks hoặc list_datasets và kiểm tra TODO trong test_utils.py. Xác minh rằng các đối số tùy ý như uploader=1 được truyền đến request builder bên dưới, đồng thời thêm hoặc chạy các bài kiểm thử xác nhận rằng các setup và evaluation đã lọc được trả về mà không có TypeError.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The list_setups and list_evaluations API endpoint functions in the Python connector currently lack support for passing arbitrary **kwargs. Other list API endpoints (like list_tasks or list_datasets) support this, allowing users to pass query parameters for advanced filtering directly to the OpenML backend.
There are existing TODO comments in the codebase specifically pointing out this limitation in test_utils.py (# TODO apparently list_setups function does not support kwargs).
Steps/Code to Reproduce
import openml
# Attempting to filter setups or evaluations with arbitrary backend kwargs raises an error
openml.setups.list_setups(uploader=1)
Expected Results
The function should accept the **kwargs (like uploader=1), pass them to the underlying request builder, and successfully return the filtered setups or evaluations.
Actual Results
text
TypeError: list_setups() got an unexpected keyword argument 'uploader'
- Ngôn ngữ chính
- Python
- Star
- 362
- Fork
- 304
- Merge trung bình
- 2 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 openml/openml-python
-
[ENH] list_estimation_procedures() should include the procedure IDsCó thể đã có người làm @Jayant-kernel đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
openml/openml-python#1750 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
openml/openml-python#1749 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documentation Good First Issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
openml/openml-python#1708 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Good First Issue module:Run testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openml/openml-python#1646 · 9 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Good First Issue module:Data testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openml/openml-python#1644 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của openml/openml-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
BasedHardware/omi#20271 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
openai/openai-cookbook#3153 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cvss-severity:high devguard l3montree-cybersecurity/devguard/devguard pkg:golang/github.com/l3montree-dev/devguard risk:low state:open
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
l3montree-dev/devguard#3146 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
open-webui/open-webui#31849 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày