-
Notifications
You must be signed in to change notification settings - Fork 4
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
Migrating log-param endpoint. #7
Migrating log-param endpoint. #7
Conversation
Signed-off-by: Software Developer <[email protected]>
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.
Wait, does this not need a change to tracking.py
as well?
yes, Im trying to figure out why this file is not committed. |
Signed-off-by: Software Developer <[email protected]>
Signed-off-by: Software Developer <[email protected]>
Signed-off-by: Software Developer <[email protected]>
Signed-off-by: Software Developer <[email protected]>
@@ -4,19 +4,26 @@ import "github.com/mlflow/mlflow-go/pkg/protos" | |||
|
|||
type Param struct { | |||
Key string | |||
Value string | |||
Value *string |
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.
MLflow has a special test here to send None
so it seems like we can handle it only such way.
Value string `db:"value" gorm:"column:value;not null"` | ||
RunID string `db:"run_uuid" gorm:"column:run_uuid;primaryKey"` | ||
Key string `db:"key" gorm:"column:key;primaryKey"` | ||
Value sql.NullString `db:"value" gorm:"column:value;not null"` |
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.
Again, to correctly handle MLFlow None
case.
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.
return contract.NewErrorWith( | ||
protos.ErrorCode_INTERNAL_ERROR, | ||
fmt.Sprintf("error creating params in batch for run_uuid %q", runID), | ||
protos.ErrorCode_BAD_REQUEST, |
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 is the most interesting part. MLFlow test waits for such a status and Im not sure that we can fix it on theirs side or suggest something.
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.
I think this is fine, but weird stuff over at mlflow.
I'm ok with merging this, but please open an issue over at mlflow so we can follow up if they agree,
Value string `db:"value" gorm:"column:value;not null"` | ||
RunID string `db:"run_uuid" gorm:"column:run_uuid;primaryKey"` | ||
Key string `db:"key" gorm:"column:key;primaryKey"` | ||
Value sql.NullString `db:"value" gorm:"column:value;not null"` |
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.
No description provided.