Skip to content

Conversation

@Omswastik-11
Copy link
Contributor

@Omswastik-11 Omswastik-11 commented Jan 15, 2026

Metadata

  • Reference Issue:
  • New Tests Added:
  • Documentation Updated:
  • Change Log Entry:

Details

fixes #1624

@geetu040 geetu040 mentioned this pull request Jan 15, 2026
25 tasks
@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 56.46481% with 266 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.31%. Comparing base (d421b9e) to head (4560b6b).

Files with missing lines Patch % Lines
openml/_api/clients/http.py 62.23% 71 Missing ⚠️
openml/_api/resources/base/versions.py 23.59% 68 Missing ⚠️
openml/_api/resources/tasks.py 21.27% 37 Missing ⚠️
openml/_api/resources/base/fallback.py 26.31% 28 Missing ⚠️
openml/testing.py 48.71% 20 Missing ⚠️
openml/_api/resources/runs.py 75.40% 15 Missing ⚠️
openml/runs/run.py 16.66% 15 Missing ⚠️
openml/_api/runtime/core.py 83.33% 5 Missing ⚠️
openml/_api/resources/base/base.py 89.65% 3 Missing ⚠️
openml/_api/resources/datasets.py 77.77% 2 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1616      +/-   ##
==========================================
- Coverage   52.04%   49.31%   -2.73%     
==========================================
  Files          36       50      +14     
  Lines        4333     4921     +588     
==========================================
+ Hits         2255     2427     +172     
- Misses       2078     2494     +416     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@geetu040 geetu040 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sync with base pr
sdk code look good so far, please take a look at #1575 (comment) and make changes accordingly where needed.
all tests (existing and new) should pass to make sure we are retaining the original functionality of the sdk

Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
@Omswastik-11 Omswastik-11 requested a review from geetu040 January 30, 2026 09:50
@Omswastik-11 Omswastik-11 marked this pull request as ready for review January 30, 2026 09:50
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
Comment on lines +822 to +828
use_cache = not ignore_cache
reset_cache = ignore_cache
return api_context.backend.runs.get(
run_id,
use_cache=use_cache,
reset_cache=reset_cache,
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use_cache should be true since the method always supports caching
reset_cache should rely on ignore_cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] V1 → V2 API Migration - runs

4 participants