Skip to content

feat: implement missing API client methods and add unit tests#47

Merged
SergioLangaritaBenitez merged 12 commits into
develfrom
amplify-rest-api
May 26, 2026
Merged

feat: implement missing API client methods and add unit tests#47
SergioLangaritaBenitez merged 12 commits into
develfrom
amplify-rest-api

Conversation

@SergioLangaritaBenitez
Copy link
Copy Markdown
Collaborator

Changes

  • Add 21 new methods to client.py (health, deployments, volumes, buckets, metrics, quotas, system_logs)
  • Add load_config utility function in _utils.py
  • Fix make_request UnboundLocalError on POST/PUT without data
  • Add 29 unit tests across test_client.py and test_utils.py
  • Fix all style issues (flake8 clean across project)

Testing

  • 69 tests pass (42 existing + 27 new)
  • flake8 clean

- Add 21 new methods to client.py (health, deployments, volumes,
  buckets, metrics, quotas, system_logs)
- Add load_config utility function in _utils.py
- Fix make_request UnboundLocalError on POST/PUT without data
- Add 29 unit tests across test_client.py and test_utils.py
- Fix all style issues (flake8 clean across project)
@SergioLangaritaBenitez SergioLangaritaBenitez merged commit 12dc488 into devel May 26, 2026
1 check passed
SergioLangaritaBenitez added a commit that referenced this pull request May 27, 2026
* Use user token instead of service token in the invocation (#45)

* pagination option added

* adapt fdl scipt path

* absolute path posibility added

* client_id as optional argument

* client_id default value

* Update readme

* clean code and set default values

* Updating versions/notes for 1.3.3-beta1 release

* Updating versions/notes for 1.3.3-beta1 release

* use token of the user instead of the service

---------

Co-authored-by: Estíbaliz Parcero <5576714+esparig@users.noreply.github.com>

* feat: implement missing API client methods and add unit tests (#47)

* pagination option added

* adapt fdl scipt path

* absolute path posibility added

* client_id as optional argument

* client_id default value

* Update readme

* clean code and set default values

* Updating versions/notes for 1.3.3-beta1 release

* Updating versions/notes for 1.3.3-beta1 release

* use token of the user instead of the service

* feat: implement missing API client methods and add unit tests

- Add 21 new methods to client.py (health, deployments, volumes,
  buckets, metrics, quotas, system_logs)
- Add load_config utility function in _utils.py
- Fix make_request UnboundLocalError on POST/PUT without data
- Add 29 unit tests across test_client.py and test_utils.py
- Fix all style issues (flake8 clean across project)

---------

Co-authored-by: Estíbaliz Parcero <5576714+esparig@users.noreply.github.com>
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