Skip to content

Add model run name for model.run #435

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

Merged
merged 4 commits into from
Apr 2, 2024
Merged

Conversation

ntamas92
Copy link
Contributor

Model run nam has been made required in scale api, this PR adds the model_run_name parameter to Model.run.

@ntamas92 ntamas92 requested review from pfmark and a team March 25, 2024 14:53
Copy link
Contributor

@gatli gatli left a comment

Choose a reason for hiding this comment

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

LGTM - I would simplify the test while we're at it 🙂

@@ -382,7 +382,6 @@ def test_annotate_async(dataset: Dataset):
"status": "Completed",
"message": {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a terrible testing pattern that we're still unwinding - we shouldn't be checking the message at all. We can test that in scaleapi unit tests if we want.

Can change the test to use assert_partial_equality and ideally just check the status message or the subset that indicates succes.

@ntamas92 ntamas92 merged commit f0d8022 into master Apr 2, 2024
@ntamas92 ntamas92 deleted the tamasn/add-model-run-name branch April 2, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants