Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Enhancement: Add missing **kwargs support to list_setups and list_evaluations

Đang mở Phù hợp với người mới
#1,753 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openml/openml-python

Tất cả issue của openml/openml-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.