Commit Graph

5 Commits

Author SHA1 Message Date
chongyouquan 58f7ab8b49
chore(sdk): Registry Client - default to read full spec of versions (#7936)
* default to read full spec of versions

* update tests

* fix formatting
2022-06-24 09:43:51 -06:00
chongyouquan 4f01b7e602
feat(kfp): implement config file support for registry client (#7908)
* implement config file support

* update tests

* update PR in response to comments
2022-06-21 15:54:09 -06:00
chongyouquan eaa8ec7807
fix(sdk): Fix corner cases and implement validation (#7763)
* Handle corner case when list is empty

* add validation for tags and versions

* add tests for empty lists

* add tests for version and tag validation

* fix formatting and optional arguments

* fix type annotation
2022-05-23 17:47:02 +00:00
Connor McCarthy 6b2f015672
chore(sdk): use unittest.mock instead of mock (#7694) 2022-05-10 22:55:33 +00:00
chongyouquan 25e4c58820
feat(sdk): Implement Registry client (#7597)
* Implement registry client

* Update registry client code

* Add test skeleton

* Add some tests

* Update code

* add tests

* update tests

* update tests

* Rename Client -> RegistryClient

* Update wrt comments

* add type annotations

* fix renaming in __init__.py

* remove unused imports

* extract host variable in test

* format using yapf

* remove locals and use arg keywords

* remove json conversion

* fix header

* write bytes when downloading file

* fix create_tag; fix tests

* fix request_body for update_tag and create_tag using json.dumps

* simply return json for delete_tag

* rename files

* format files

* update return types and format double quotes

* add comments and format files

* add todos

* update credentials and change open to use context

* format using yapf

* move request into context

* Update comments

* Update release notes

* Update release notes
2022-05-10 06:53:06 +00:00