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

refactor Model API #51

Merged
merged 2 commits into from
Apr 18, 2018
Merged

refactor Model API #51

merged 2 commits into from
Apr 18, 2018

Conversation

YujiOshima
Copy link
Contributor

api.proto

  • change Store to Save
  • s/OverView/Overview/
  • s/auther/owner/
  • uncapitarize DataSetInfo's field

manager/main.go

  • refactor around isin at :134

manager/modelstore_interface/modeldb.go

  • add comments for exported methods

/assign @ddysher
cc @gaocegege

Signed-off-by: YujiOshima yuji.oshima0x3fd@gmail.com

Signed-off-by: YujiOshima <yuji.oshima0x3fd@gmail.com>
Copy link
Member

@ddysher ddysher left a comment

Choose a reason for hiding this comment

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

one comment, otherwise LGTM

GetStoredStudies() ([]*api.StudyOverView, error)
GetStoredModels(*api.GetStoredModelsRequest) ([]*api.ModelInfo, error)
GetStoredModel(*api.GetStoredModelRequest) (*api.ModelInfo, error)
type ModelSave interface {
Copy link
Member

Choose a reason for hiding this comment

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

This is a real store interface, so we can keep it as ModelStore :)

Signed-off-by: YujiOshima <yuji.oshima0x3fd@gmail.com>
@ddysher
Copy link
Member

ddysher commented Apr 18, 2018

Thanks for agreeing on the API change! @YujiOshima

/lgtm

@gaocegege
Copy link
Member

/lgtm

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ddysher, gaocegege

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

@k8s-ci-robot k8s-ci-robot merged commit 5b0929b into kubeflow:master Apr 18, 2018
@YujiOshima YujiOshima deleted the modelapi-ref branch April 24, 2018 07:46
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.

4 participants