-
Notifications
You must be signed in to change notification settings - Fork 3k
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: add version properties to mlmodel mapper #12343
base: master
Are you sure you want to change the base?
feat: add version properties to mlmodel mapper #12343
Conversation
@@ -242,4 +242,48 @@ private static void mapEditableProperties(MLModel entity, DataMap dataMap) { | |||
} | |||
entity.setEditableProperties(editableProperties); | |||
} | |||
|
|||
private static void mapVersionProperties(MLModel entity, DataMap dataMap) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would expect a usage of this function above based on the aspect name, also + a test here
""" | ||
Represents properties about a versioned asset. | ||
""" | ||
type VersionProperties { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might run into a merge conflict w/ Andrew's changes, will shoot you the link, not sure what the best approach to sync them would be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need sortId
for your logic? For now, I'm excluding it as I don't think the frontend should need it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense!
Checklist