Skip to content

Commit

Permalink
fix: issues/192254729 (#914)
Browse files Browse the repository at this point in the history
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-aiplatform/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)

Fixes #192254729 🦕
  • Loading branch information
andrewferlitsch committed Dec 17, 2021
1 parent 0f22ff6 commit 3ec620c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -33,6 +33,7 @@ def create_training_pipeline_tabular_regression_sample(

tabular_regression_job = aiplatform.AutoMLTabularTrainingJob(
display_name=display_name,
optimization_prediction_type="regression"
)

my_tabular_dataset = aiplatform.TabularDataset(dataset_id)
Expand Down
Expand Up @@ -44,6 +44,7 @@ def test_create_training_pipeline_tabular_regression_sample(
)
mock_get_automl_tabular_training_job.assert_called_once_with(
display_name=constants.DISPLAY_NAME,
optimization_prediction_type="regression"
)
mock_run_automl_tabular_training_job.assert_called_once_with(
dataset=mock_tabular_dataset,
Expand Down

0 comments on commit 3ec620c

Please sign in to comment.