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

feat(sdk): Implement Registry client #7597

Merged
merged 35 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a3f3529
Implement registry client
chongyouquan Mar 18, 2022
7f47fa2
Update registry client code
chongyouquan Mar 21, 2022
7dbe8d3
Add test skeleton
chongyouquan Mar 25, 2022
03d82ee
Add some tests
chongyouquan Apr 1, 2022
7c13f50
Update code
chongyouquan Apr 1, 2022
e989dfd
add tests
chongyouquan Apr 15, 2022
173a767
update tests
chongyouquan Apr 18, 2022
285d1a4
Merge branch 'kubeflow:master' into registryclient
chongyouquan Apr 25, 2022
5dcaa3d
update tests
chongyouquan Apr 21, 2022
aa2513c
Rename Client -> RegistryClient
chongyouquan Apr 25, 2022
0073e36
Update wrt comments
chongyouquan Apr 25, 2022
4d005bc
add type annotations
chongyouquan Apr 25, 2022
e1e2058
fix renaming in __init__.py
chongyouquan Apr 25, 2022
f97128d
remove unused imports
chongyouquan Apr 25, 2022
fe2b6e3
extract host variable in test
chongyouquan Apr 25, 2022
1f62bc5
format using yapf
chongyouquan Apr 25, 2022
fc5dd3c
remove locals and use arg keywords
chongyouquan Apr 26, 2022
bcebc7f
remove json conversion
chongyouquan Apr 27, 2022
6075f70
fix header
chongyouquan Apr 27, 2022
a2e6b91
write bytes when downloading file
chongyouquan Apr 27, 2022
e9a1838
fix create_tag; fix tests
chongyouquan Apr 27, 2022
0115190
fix request_body for update_tag and create_tag using json.dumps
chongyouquan Apr 27, 2022
e7af3cb
simply return json for delete_tag
chongyouquan Apr 28, 2022
f7d7a09
rename files
chongyouquan May 3, 2022
802a7ab
format files
chongyouquan May 3, 2022
d7e9823
update return types and format double quotes
chongyouquan May 3, 2022
c4e8372
add comments and format files
chongyouquan May 3, 2022
7a0991f
add todos
chongyouquan May 3, 2022
f2858a4
update credentials and change open to use context
chongyouquan May 3, 2022
4861334
format using yapf
chongyouquan May 3, 2022
1314981
move request into context
chongyouquan May 3, 2022
a6b2162
Update comments
chongyouquan May 5, 2022
1131cbc
Update release notes
chongyouquan May 5, 2022
1405b54
Update release notes
chongyouquan May 5, 2022
7441c5a
Merge branch 'master' into registryclient
chongyouquan May 9, 2022
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
1 change: 1 addition & 0 deletions sdk/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Major Features and Improvements
* feat(sdk): add .list_pipeline_versions and .unarchive_experiment methods to Client [\#7563](https://github.com/kubeflow/pipelines/pull/7563)
* feat(sdk): Implement Registry Client [\#7597](https://github.com/kubeflow/pipelines/pull/7563)
chongyouquan marked this conversation as resolved.
Show resolved Hide resolved

## Breaking Changes

Expand Down
16 changes: 16 additions & 0 deletions sdk/python/kfp/registry/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2022 The Kubeflow Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from kfp.registry.registry_client import ApiAuth
from kfp.registry.registry_client import RegistryClient
Loading