-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: add labels to all resource creation apis (#601)
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] 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 #595, <b/191789899> 🦕 - Add support for labels in resources creation: - datasets (`create`) - ImageDataset / TabularDataset / TextDataset / TimeSeriesDataset / VideoDataset - tensorboard - `Tensorboard.create` - jobs - `BatchPredictionJob.create` - `CustomJob.__init__` - `HyperparameterTuningJob.__init__` - models - `Endpoint.create` - `Model.upload` / `Model.batch_predict` - training_jobs (`__init__` for training labels, `run` for model labels) - CustomTrainingJob / CustomContainerTrainingJob / CustomPythonPackageTrainingJob - AutoMLTabularTrainingJob / AutoMLForecastingTrainingJob / AutoMLImageTrainingJob / AutoMLVideoTrainingJob / AutoMLTextTrainingJob - Modify `pipeline_jobs.py` and `utils.py` for `validate_labels` reusability - Add / modify unit tests to verify: - standard resource creation with / without labels - training pipeline resource creation - when model labels is not provided - when base model labels is provided
- Loading branch information
Showing
24 changed files
with
872 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.