Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
0159f47
set up folder structure and base code
geetu040 Dec 30, 2025
58e9175
Merge branch 'main' into migration
fkiraly Dec 31, 2025
bdd65ff
Merge branch 'main' into migration
geetu040 Jan 1, 2026
52ef379
fix pre-commit
geetu040 Jan 5, 2026
5dfcbce
refactor
geetu040 Jan 7, 2026
2acbe99
implement cache_dir
geetu040 Jan 7, 2026
af99880
refactor
geetu040 Jan 7, 2026
74ab366
Merge branch 'main' into pr/1576
fkiraly Jan 7, 2026
9100d91
feat: added migrations for studies api v2
rohansen856 Jan 8, 2026
88077a7
chore: fixed the args limit in function using noqa
rohansen856 Jan 13, 2026
13acf35
Merge branch 'main' into studies-migration
rohansen856 Jan 15, 2026
e02e05b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 15, 2026
4c75e16
undo changes in tasks/functions.py
geetu040 Jan 15, 2026
5762185
Merge branch 'main' into migration
geetu040 Jan 15, 2026
9170edc
chore: updated the list function acc to reviews
rohansen856 Jan 15, 2026
8c980c9
chore: removed _list_studies and implemented api_context for studies …
rohansen856 Jan 16, 2026
7e9bc1f
Merge branch 'main' into migration
geetu040 Jan 21, 2026
c603383
add tests directory
geetu040 Jan 21, 2026
ff6a8b0
use enum for delay method
geetu040 Jan 21, 2026
f01898f
implement cache
geetu040 Jan 21, 2026
5c4511e
refactor clients
geetu040 Jan 21, 2026
43276d2
fix import in resources/base.py
geetu040 Jan 23, 2026
1206f69
refactor and add exception handling
geetu040 Jan 26, 2026
4948e99
refactor resources/base/
geetu040 Jan 26, 2026
a354167
implement delete
geetu040 Jan 26, 2026
1fe7e3e
implement publish and minor refactoring
geetu040 Jan 27, 2026
54a3151
implement tag/untag
geetu040 Jan 27, 2026
2b6fe65
implement fallback
geetu040 Jan 27, 2026
fa53f8d
add test_http.py
geetu040 Jan 28, 2026
2b2db96
add uses_test_server marker
geetu040 Jan 28, 2026
c9617f9
implement reset_cache
geetu040 Jan 29, 2026
9d2e4e4
Merge branch 'main' into studies-migration
rohansen856 Jan 29, 2026
e05dec5
tests: initialized tests for studies migration
rohansen856 Jan 29, 2026
ad64cfb
Merge branch 'studies-migration' of https://github.com/rohansen856/op…
rohansen856 Jan 29, 2026
5bc37b8
fixes with publish/delete
geetu040 Jan 29, 2026
08d9916
fix cache_key in tests
geetu040 Jan 29, 2026
8caba11
update _not_supported
geetu040 Jan 30, 2026
1913c10
add 'get_api_config' skeleton method
SimonBlanke Jan 30, 2026
7681949
remove 'APISettings'
SimonBlanke Jan 30, 2026
01840a5
impl. 'get_api_config'
SimonBlanke Jan 30, 2026
26ed4c1
add singleton pattern for settings
SimonBlanke Jan 30, 2026
c588d0c
add 'reset_settings'
SimonBlanke Jan 30, 2026
b6ff720
remove unused code
SimonBlanke Jan 30, 2026
80d5afc
reimplement usage of v1 settings config
SimonBlanke Jan 30, 2026
f47112c
first try v2, fallback to v1 if not available
SimonBlanke Jan 30, 2026
d44cf3e
reimplement singelton without the use of 'global'
SimonBlanke Jan 30, 2026
ea7dda1
add explanations
SimonBlanke Jan 30, 2026
f0e5947
change usage of settings to new impl.
SimonBlanke Jan 30, 2026
edcd006
add explanations
SimonBlanke Jan 30, 2026
cde0aae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 30, 2026
aa1e560
move to config: APIVersion, ResourceType
geetu040 Feb 1, 2026
06b8497
remove api_context entirely
geetu040 Feb 1, 2026
384da91
major refactor
geetu040 Feb 1, 2026
735a335
refactor: updated studies migration acc to reviews
rohansen856 Feb 1, 2026
6b67c1f
tests: add tests for studies API migration
rohansen856 Feb 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions openml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
utils,
)
from .__version__ import __version__
from ._api.runtime.instance import _backend
from .datasets import OpenMLDataFeature, OpenMLDataset
from .evaluations import OpenMLEvaluation
from .flows import OpenMLFlow
Expand Down Expand Up @@ -109,6 +110,7 @@ def populate_cache(
"OpenMLTask",
"__version__",
"_api_calls",
"_backend",
"config",
"datasets",
"evaluations",
Expand Down
24 changes: 24 additions & 0 deletions openml/_api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""OpenML API module."""

from __future__ import annotations

from typing import TYPE_CHECKING

from openml._api.runtime.instance import _backend as backend

if TYPE_CHECKING:
from openml._api.runtime.core import APIBackend

__all__ = ["api_context"]


class APIContext:
"""API context for accessing the OpenML backend."""

@property
def backend(self) -> APIBackend:
"""Get the API backend instance."""
return backend


api_context = APIContext()
8 changes: 8 additions & 0 deletions openml/_api/clients/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from .http import HTTPCache, HTTPClient
from .minio import MinIOClient

__all__ = [
"HTTPCache",
"HTTPClient",
"MinIOClient",
]
Loading
Loading