-
-
Notifications
You must be signed in to change notification settings - Fork 270
[ENH] V1 → V2 API Migration - Tasks #1611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
satvshr
wants to merge
403
commits into
openml:main
Choose a base branch
from
satvshr:tasks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
403 commits
Select commit
Hold shift + click to select a range
fd43c48
use LegacyConfig
geetu040 f4aab6b
Revert "use LegacyConfig"
geetu040 d43cf86
implement _sync_api_config
geetu040 3e323ed
update tests with _sync_api_config
geetu040 9195fa6
rename config: timeout -> timeout_seconds
geetu040 5342eec
use timedelta for default ttl value
geetu040 adc0e74
update tests, adds v2/fallback
geetu040 bfb2d3e
add MinIOClient in TestBase
geetu040 cabaecf
fix linting for builder
geetu040 0be93cf
merge migration
satvshr 8e5c4eb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 021c1ed
adjusting to new changes
satvshr 5e6c56e
adjusting to new changes
satvshr 1fec002
adjusting to new changes
satvshr 1877c07
adjusting to new changes
satvshr 85c1113
fix unbound variables: "code", "message"
geetu040 39bf86a
use requests.Session()
geetu040 7b66677
remove "timeout_seconds" entirely
geetu040 b61741f
adjusting to new changes
satvshr 2a51495
Merge branch 'tasks' of https://github.com/satvshr/openml-python into…
satvshr 2bf1d1e
Updated tests
satvshr d2224c4
update/refactor tests
geetu040 f89230a
bug fixing and cached tests removal
satvshr 0708966
updated tests
satvshr 122bd21
updated tests
satvshr d6565f1
Merge remote-tracking branch 'geetu040/migration' into tasks
satvshr f7aa11e
latest core changes
satvshr 9608c36
remove unused current_api_version from TestAPIBase
geetu040 f6bc7f7
make TestAPIBase inherit TestBase
geetu040 baa3a38
nits: test classes
geetu040 1d3cf95
requested changes
satvshr 1b00a7f
removed docker from pytest default
satvshr cc6e673
change mysql port
satvshr c1bf558
Change order of ci flow
satvshr 52b93fe
minor fix in _sync_api_config
geetu040 ec9477f
chore: rerun CI
geetu040 dc411dd
Merge remote-tracking branch 'geetu040/migration' into tasks
satvshr 3de0919
updates and req change
satvshr 37b1454
updates and req change
satvshr 10d134a
remove duplicates in _api/resources/__init__.py
geetu040 935f0f4
implement HTTPClient.download and add tests
geetu040 0981b2e
Merge remote-tracking branch 'geetu040/migration' into tasks
satvshr 2398b5f
update download
satvshr 9514df8
add docstrings
geetu040 1a794fe
CI testing
satvshr dbe7782
CI testing
satvshr d8be5f1
CI testing
satvshr b204845
CI testing
satvshr 54725fa
Windows CI bugfixing
satvshr abc44a5
merging 2 branches
satvshr b034687
merging 2 branches
satvshr b8826f5
merging 2 branches
satvshr 445cbe8
merging 2 branches
satvshr 295ef93
curl to verify server is running
satvshr 488f409
path fix
satvshr 93d7409
Merge branch 'update-tests-for-local' into i1614
satvshr 45e7257
run all test server tests
satvshr 7fcf039
fix 'Cleanup Docker setup'
satvshr 37cfb2e
skipping windows given docker binaries do not match
satvshr 9290010
testing out locally
satvshr bbfa193
replacing with 8080
satvshr 53bee94
update minio
geetu040 4531cbc
test
satvshr d90615a
test
satvshr 9b12d6f
test
satvshr 45d3423
test
satvshr 16f22b1
test
satvshr dd2ce68
test
satvshr ebeccea
test
satvshr a0ac6b9
test
satvshr 439e683
test
satvshr f87051b
test
satvshr 4077a56
test
satvshr fad1ee7
test
satvshr 4086730
test
satvshr fecebbc
windows fix?
satvshr 4845a1e
windows fix?
satvshr a247050
windows fix?
satvshr e4a6807
Do not include ports in cache path. ':' not supported by windows
PGijsbers 03bf396
Merge branch 'main' into update-tests-for-local
PGijsbers c1a4fff
requested changes
satvshr 4c6bd2f
merge 1630
satvshr ba0e480
revert test.yml changes
satvshr 33b4ca0
make delay functions static
geetu040 a6b9a45
rename: retry_raise_e -> exception
geetu040 f924b32
use context-manager for requests.Session
geetu040 541b0f2
remove "assert response is not None"
geetu040 acb173f
verify checksum before caching
geetu040 3e8d1f0
update tests
geetu040 f83bdb5
minor fix in ResourceV1API.untag
geetu040 519d5cb
Update openml/config.py
PGijsbers 30fd44d
Merge branch 'main' into update-tests-for-local
PGijsbers 2a42712
remove cache.ttl
geetu040 001caad
replace config.cache.dir with config.cache_dir
geetu040 fb38a2d
make HTTPClient.cache compulsory
geetu040 03c4ca9
remove unused OpenMLCacheRequiredError
geetu040 8d708fd
implement and use TestAPIBase._create_resource
geetu040 4f75bba
make ResourceAPI.minio compulsory
geetu040 164f66f
Merge branch 'main' into migration
geetu040 c4dae43
rename: use_cache -> enable_cache; reset_cache -> refresh_cache
geetu040 36c20a2
use server config from TestBase
geetu040 ab3c1eb
tests: mock HTTP post calls to prevent race conditions
geetu040 c908993
Merge branch 'main' into update-tests-for-local
PGijsbers 06b9741
Keep port as part of cache directory path
PGijsbers 015cca3
merge update-tests-for-local
satvshr 2a488ca
Merge branch 'main' into migration
geetu040 599c7e1
remove hardcoded server in TestHTTPClient.test_cache
geetu040 2867862
fix docstring in _resolve_default_cache_dir
geetu040 f09f3cd
fix docstring in ResourceAPI
geetu040 5f731ce
remove duplicates in __all__
geetu040 bad7842
remove ttl related code/docs
geetu040 aefdb38
remove delay methods in HTTPClient
geetu040 0f40b02
minor fix in _resolve_default_cache_dir
geetu040 7ac1672
update FallbackProxy
geetu040 6ac1dfe
simplify _backend creation
geetu040 62924c9
Merge branch 'main' into migration
geetu040 27696bb
req changes
satvshr 190face
resolve conflicts
satvshr 95daaa6
remove old config file
satvshr 7841ea8
added OPENML_TEST_SERVER_ADMIN_KEY_ENV_VAR
satvshr cc515aa
bug fixing
satvshr e6a92df
armagh fix
satvshr 1b8c22a
update content_type check
geetu040 fc839a6
Revert "make delay functions static"
geetu040 1c922af
Revert "remove delay methods in HTTPClient"
geetu040 ffa9ce9
Merge branch 'main' into migration
geetu040 a7b2d21
allow api_key=None
geetu040 27fe790
add tests for api_key=None
geetu040 8de78af
merge main
satvshr 4482a2c
req changes
satvshr 278b546
changing retries
satvshr cf30367
fixes
satvshr b41a9b2
testing replacement
satvshr f737cb1
bug fix
satvshr b40d702
added skip tests
satvshr 5f079ba
final touches
satvshr 8965112
update cache not found message
geetu040 72ea1a4
update docs for path in HTTPCache
geetu040 a696c49
remove elapsed from cached meta
geetu040 755636d
move self.headers to _HEADERS
geetu040 d07af34
fix indentation in docstrings of _resolve_default_cache_dir
geetu040 2d9c8ec
Update openml/_api/clients/http.py
geetu040 002b989
Merge branch 'main' into migration
geetu040 045d896
move _handle_delete_exception and_get_endpoint_name, legal_resources
geetu040 c437966
set HTTPClient.headers
geetu040 e27470a
remove main_tag
geetu040 d04d956
remove and merge TestAPIBase into TestBase
geetu040 9263f7f
minor change in TestHTTPClient.test_cache
geetu040 79dea29
make HTTPClient.request private
geetu040 f6497c2
Revert "update FallbackProxy"
geetu040 dce7f54
use st_ctime instead of st_ctime for cache refresh test
geetu040 40dd460
Merge branch 'main' into issue1564
geetu040 0fc917c
majore config refactor
geetu040 3d86b18
Merge branch 'pr-1577' into migration
geetu040 f75b2de
Added skip tests
satvshr 3648972
final fixes
satvshr aba3d3e
update _config.py
geetu040 d99d54d
update test_openml_cache_dir_env_var
geetu040 dc22e3a
fix mutable SERVERS_REGISTRY
geetu040 7318573
update set_api_version for fallback
geetu040 29ef187
minor fix
geetu040 cf94c89
fixes for test_config
geetu040 298fbda
fixes in conftest urls
geetu040 9870502
update test_http.py
geetu040 33065c2
undo changes with test_openml_cache_dir_env_var
geetu040 76b92bb
fix server mode in test_config.py
geetu040 419edcb
move _HEADERS to confing
geetu040 cb6d937
add fixtures for migration tests
geetu040 8544c8a
update test_http.py with fixtures
geetu040 d4c413b
update test_versions.py
geetu040 fab1a15
update test_versions.py
geetu040 ab997d9
merge main
satvshr 2d06a8d
tests update
satvshr 975734f
tests update
satvshr 276324a
fix error message in HTTPClient.server
geetu040 73f7594
fixes in test_versions.py: use DummyTaskAPI instead of TaskAPI
geetu040 2ee7fa3
add clients in openml._backend
geetu040 a8ce427
removed fallback
satvshr 4be5bbd
fixes with openml.config.[server|apikey] leakage
geetu040 9027c01
remove unused fixtures: use_api_[v1|v2]
geetu040 e5461a9
add more config tests
geetu040 7d899a9
make SERVERS_REGISTRY private
geetu040 8587414
fix marker: uses_test_server->test_server
geetu040 23a3450
fix UserWarning
geetu040 ac28f82
update fixture: with_server
geetu040 4a66245
req changes
satvshr c762fb4
Merge branch 'issue1564' of https://github.com/satvshr/openml-python …
satvshr 77c21f2
Update openml/_api/clients/http.py
geetu040 eac24fc
Update tests/test_api/test_http.py
geetu040 2ed65fe
update test_get_uses_cached_response
geetu040 f3b07de
test_get_with_api_key
geetu040 29db3f1
use .arff instead of .bin in tests
geetu040 3b4e538
update test_download_creates_file to use md5_checksum
geetu040 8ac886b
update test_download_is_cached_on_disk
geetu040 305f4f0
update APIBackendBuilder
geetu040 b2bf164
Merge branch 'main' into migration
geetu040 e97e6c2
Update openml/_api/clients/http.py
geetu040 c66d73c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] aa54e8e
pre-commit fixes
geetu040 2d452d3
Merge branch 'main' into issue1564
geetu040 c235812
Merge branch 'main' into issue1564
fkiraly 39eb823
Trigger CI
satvshr 50eed37
Merge branch 'main' into migration
geetu040 49ae63a
merge arm branch
satvshr 6ec4bf4
Merge branch 'main' into tasks
satvshr bdd9494
os imports
satvshr d510747
Merge branch 'tasks' of https://github.com/satvshr/openml-python into…
satvshr d4ad4c9
test_version fixes
satvshr a79f1a1
merge core
satvshr e5b918b
mypy fix
satvshr 4e44fe5
patch tests
satvshr 4024913
patch tests
satvshr 7a000eb
Merge branch 'main' into issue1564
geetu040 79f6187
Merge branch 'main' into issue1564
geetu040 b1a9e7f
Merge branch 'pr-1577' into migration (merge conflicts)
geetu040 d716ecf
update server methods in config
geetu040 3c29e71
fix api-version leakage in tests
geetu040 b4ff0b2
remove unused migration code
geetu040 93155ee
debug ci: separate cache for each test-case
geetu040 d3cc9a7
update port for localhost
geetu040 a6b82f4
Revert "debug ci: separate cache for each test-case"
geetu040 3419973
rerun CI
geetu040 8de99b7
Merge branch 'main' into migration
geetu040 7d61107
create enum ServerMode
geetu040 1ecbbba
update config for ServerMode
geetu040 65472ed
update tests for ServerMode
geetu040 b5eba2b
Merge branch 'main' into tasks
satvshr f11ca75
latest
satvshr 44b48b5
udpate apikey in _TEST_SERVERS_LOCAL
geetu040 73f609e
bug fixing
satvshr 04bc83b
fix: remove duplicate server name in cache path
geetu040 f926092
test: remove check for ":" since windows CI expects it
geetu040 caed1d1
Merge remote-tracking branch 'geetu040/migration' into tasks
satvshr d488c3c
bug fixing
satvshr dc50f3d
merge main
satvshr d4b033e
bug fixing
satvshr cebf764
bug fixing
satvshr ca8b72d
Trigger Build
satvshr 844faf5
first round of changes
satvshr 9a752eb
first round of changes
satvshr f276b28
requested changes
satvshr edde570
merge main
satvshr a416fbd
_get_estimation_procedure_list work
satvshr b1e91fe
accidentally removed
satvshr 7c7d400
update HTTPClient
geetu040 b3b3b2a
remove headers.json, meta.json
geetu040 79985a5
rename: body.bin -> body.xml
geetu040 61a57e7
move tests/files
geetu040 369ae20
move files in api_splits
geetu040 cdb4d3a
update conftest.py
geetu040 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adjusting to new changes
- Loading branch information
commit 021c1ed60b6fc11f5bf0b229331409f82b65e1ed
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.