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

fix: naming for model registry CLI commands and entities [DET-3767] #961

Merged
merged 6 commits into from
Aug 5, 2020

Conversation

sidneyw
Copy link
Contributor

@sidneyw sidneyw commented Jul 27, 2020

Description

Changes version to model_version in the REST API
Changes underscores to hyphens in the CLI

Test Plan

@@ -97,16 +97,19 @@ def get_versions(self, order_by: ModelOrderBy = ModelOrderBy.DESC) -> List[Check
)
data = resp.json()

for v in data["modelVersions"]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this debug code?

return resp, a.paginate(&resp.Pagination, &resp.Versions, req.Offset, req.Limit)
a.sort(resp.ModelVersions, req.OrderBy, req.SortBy, apiv1.GetModelVersionsRequest_SORT_BY_VERSION)
for _, v := range resp.ModelVersions {
fmt.Printf("v: %v, uuid: %v\n", v.Version, v.Checkpoint.Uuid)
Copy link
Contributor

Choose a reason for hiding this comment

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

Debug code?

@aaron276h aaron276h assigned sidneyw and unassigned aaron276h Aug 4, 2020
@sidneyw sidneyw assigned aaron276h and unassigned sidneyw Aug 4, 2020
@aaron276h aaron276h assigned sidneyw and unassigned aaron276h Aug 4, 2020
@sidneyw sidneyw changed the title fix: naming for model registry CLI commands and entities fix: naming for model registry CLI commands and entities [DET-3767] Aug 5, 2020
@sidneyw sidneyw merged commit 89e1183 into determined-ai:master Aug 5, 2020
@dannysauer dannysauer added this to the 0.12.13 milestone Feb 6, 2024
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.

5 participants