Skip to content
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

Add sync client for v2 #137

Merged
merged 13 commits into from
Dec 3, 2024
Merged

Add sync client for v2 #137

merged 13 commits into from
Dec 3, 2024

Conversation

ekouts
Copy link
Collaborator

@ekouts ekouts commented Nov 25, 2024

No description provided.

@ekouts ekouts requested a review from rsarm November 25, 2024 13:51
@ekouts ekouts self-assigned this Nov 25, 2024
@rsarm rsarm merged commit 3525518 into eth-cscs:apiv2 Dec 3, 2024
7 of 8 checks passed
@ekouts ekouts deleted the unasync branch December 3, 2024 11:11
ekouts added a commit that referenced this pull request Jan 22, 2025
* Async client for FirecREST v2 (#126)

* add unit tests (#127)

* add v2 docs

* Fix docstrings formatting warnings

* Add status endpoints for v2 (#130)

* Async client for FirecREST v2

* Fix log level

* Add status endpoints

* Apiv2 merge (#133)

* Run unittests for all PRs, not only the ones to main (#131)

* Update AsyncExternalStorage.py

---------

Co-authored-by: rsarm <[email protected]>

* Add file system endpoints (#134)

* Run unittests for all PRs, not only the ones to main (#131)

* add fs endpoints

* fix bugs

* Fix small typos

* Add responses for ls

* Add responses for ls options

* Add tests for /head

* Small fixes and test files in tail

* Small fixes in tail and test file

* Small fixes in async client and checksum test file

* Add file test output

* Add test files for stat

* add more endpoints

* add responses

* Fix rm

* Add rm test

* Fix typo

* Fix simple upload and download

* Rename param

* Update _json_response

* Fix simple upload

---------

Co-authored-by: Eirini Koutsaniti <[email protected]>
Co-authored-by: Eirini Koutsaniti <[email protected]>

* Add compute endpoints (#135)

* Add submit endpoint

* Fix typo

* Add job info and metadata

* Add job submissions output

* Add cancel and attach to v2 client

* Fix type

* Add better support for transfer jobs (#136)

* Add better support for transfer jobs in mv/cp/rm

* Fix type

* Add upload method

* Add download method

* Add aiofiles dep

* Pin aiofiles to 23.2.1 to maintain support for python 3.7

* Fix mypy errors

* Fix aiofiles version

* Fix types-aiofiles version

* Add sync client for v2 (#137)

* Add better support for transfer jobs in mv/cp/rm

* Fix type

* Add upload method

* Add download method

* Add aiofiles dep

* Pin aiofiles to 23.2.1 to maintain support for python 3.7

* Fix mypy errors

* Fix aiofiles version

* Fix types-aiofiles version

* Add sync client

* Fix mypy errors

* Add docs for sync client

* Add userinfo endpoint for api v2 (#138)

* Run unittests for all PRs, not only the ones to main (#131)

* add user info endpoint async

* add user info endpoint sync

* add unit tests

* fix json format

* Fix types

---------

Co-authored-by: Eirini Koutsaniti <[email protected]>
Co-authored-by: Eirini Koutsaniti <[email protected]>

* Add some fixes and updates in the api (#140)

* Run unittests for all PRs, not only the ones to main (#131)

* small fixes

* bug fix

* update ls rec resp

---------

Co-authored-by: Eirini Koutsaniti <[email protected]>

* Add extract and compress functions to v2 (#141)

* Add extract and compress fucntions to v2

* Fix return types

* Add missing endpoints mkdir and symlink (#143)

* Run unittests for all PRs, not only the ones to main (#131)

* add mkdir and symlink

* Small fixes

---------

Co-authored-by: Eirini Koutsaniti <[email protected]>
Co-authored-by: Eirini Koutsaniti <[email protected]>

* Allow passing path to local script in client.submit (#142)

* Run unittests for all PRs, not only the ones to main (#131)

* submit with path to local file

* fixes

* fixes

---------

Co-authored-by: Eirini Koutsaniti <[email protected]>
Co-authored-by: Eirini Koutsaniti <[email protected]>

* Refactor versions of the api (#144)

* Refactor package

* Fix docs references for v1

* Fix type errors in docs

* Update docs for v2

* Small fix

* fix imports

* Rename submit args

* Retry requests in case of 429 (#147)

* Retry in case of 429 in v2

* Fix workflow image

* Small fix in systems method

* Add missing line

---------

Co-authored-by: rsarm <[email protected]>
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.

2 participants