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

SDK: change list apis to return objects as default #1630

Merged
merged 10 commits into from
Aug 31, 2021

Conversation

anencore94
Copy link
Member

@anencore94 anencore94 commented Aug 18, 2021

What this PR does / why we need it:

  • change list_trials, list_experiments to return list of objects as a default

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1447

Checklist:

Questions To Members

  • Is there any recommended way to add unit test codes for python sdk, except this example notebook?

@aws-kf-ci-bot
Copy link
Contributor

Hi @anencore94. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking this @anencore94!
I left few comments.

sdk/python/v1beta1/kubeflow/katib/api/katib_client.py Outdated Show resolved Hide resolved
sdk/python/v1beta1/kubeflow/katib/api/katib_client.py Outdated Show resolved Hide resolved
@andreyvelich
Copy link
Member

/ok-to-test

@gaocegege
Copy link
Member

/retest

@andreyvelich
Copy link
Member

/hold Please let's merge this PR after Katib 0.12 release.

After this change: #1572, we still need to do some work to modify our SDK and KFP examples to support the latest SDK changes.

Since this PR will add some additional functionality, we can include it in the next release (e.g. Katib 0.13).

What do you think @gaocegege @johnugeorge @anencore94 ?

@anencore94
Copy link
Member Author

/hold Please let's merge this PR after Katib 0.12 release.

I agree. I'm not sure when Katib 0.12 will be released, but this feature change the API of sdk, this feature should change the minor version

@johnugeorge
Copy link
Member

Since release branch is created, we can merge it to master

@gaocegege
Copy link
Member

/retest

@anencore94
Copy link
Member Author

Is there any reason why kubeflow-katib-presubmit fail sometimes ?

@andreyvelich
Copy link
Member

Is there any reason why kubeflow-katib-presubmit fail sometimes ?

Sometime tests can be flaky, we have to restart it couple of times.

@anencore94
Copy link
Member Author

/assign @anencore94

@anencore94
Copy link
Member Author

/retest

anencore94 and others added 2 commits August 29, 2021 01:30
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @anencore94!
/lgtm
@gaocegege @johnugeorge Please take a look.

@johnugeorge
Copy link
Member

/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anencore94, johnugeorge

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@anencore94
Copy link
Member Author

/unhold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SDK] list_trials and list_experiments should return list of objects
6 participants