Skip to content

Commit

Permalink
chore(components): format gcpc source code
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 521912902
  • Loading branch information
connor-mccarthy authored and Google Cloud Pipeline Components maintainers committed Apr 5, 2023
1 parent 59688a3 commit 183313c
Show file tree
Hide file tree
Showing 180 changed files with 4,728 additions and 3,992 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,67 +52,84 @@
TimeSeriesDatasetCreateOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/create_time_series_dataset/component.yaml'))
'dataset/create_time_series_dataset/component.yaml',
)
)

ImageDatasetCreateOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/create_image_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/create_image_dataset/component.yaml'
)
)

TabularDatasetCreateOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/create_tabular_dataset/component.yaml'))
'dataset/create_tabular_dataset/component.yaml',
)
)

TextDatasetCreateOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/create_text_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/create_text_dataset/component.yaml'
)
)

VideoDatasetCreateOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/create_video_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/create_video_dataset/component.yaml'
)
)

ImageDatasetExportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/export_image_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/export_image_dataset/component.yaml'
)
)

TabularDatasetExportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/export_tabular_dataset/component.yaml'))
'dataset/export_tabular_dataset/component.yaml',
)
)

TimeSeriesDatasetExportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/export_time_series_dataset/component.yaml'))
'dataset/export_time_series_dataset/component.yaml',
)
)

TextDatasetExportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/export_text_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/export_text_dataset/component.yaml'
)
)

VideoDatasetExportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/export_video_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/export_video_dataset/component.yaml'
)
)

ImageDatasetImportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/import_image_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/import_image_dataset/component.yaml'
)
)

TextDatasetImportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/import_text_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/import_text_dataset/component.yaml'
)
)

VideoDatasetImportDataOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'dataset/import_video_dataset/component.yaml'))
os.path.dirname(__file__), 'dataset/import_video_dataset/component.yaml'
)
)

CustomContainerTrainingJobRunOp = utils.convert_method_to_component(
aiplatform_sdk.CustomContainerTrainingJob,
Expand All @@ -127,55 +144,74 @@
AutoMLImageTrainingJobRunOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'automl_training_job/automl_image_training_job/component.yaml'))
'automl_training_job/automl_image_training_job/component.yaml',
)
)

AutoMLTextTrainingJobRunOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'automl_training_job/automl_text_training_job/component.yaml'))
'automl_training_job/automl_text_training_job/component.yaml',
)
)

AutoMLTabularTrainingJobRunOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'automl_training_job/automl_tabular_training_job/component.yaml'))
'automl_training_job/automl_tabular_training_job/component.yaml',
)
)

AutoMLForecastingTrainingJobRunOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'automl_training_job/automl_forecasting_training_job/component.yaml'))
'automl_training_job/automl_forecasting_training_job/component.yaml',
)
)

AutoMLVideoTrainingJobRunOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__),
'automl_training_job/automl_video_training_job/component.yaml'))
'automl_training_job/automl_video_training_job/component.yaml',
)
)

ModelDeleteOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'model/delete_model/component.yaml'))
os.path.join(os.path.dirname(__file__), 'model/delete_model/component.yaml')
)

ModelExportOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'model/export_model/component.yaml'))
os.path.join(os.path.dirname(__file__), 'model/export_model/component.yaml')
)

ModelDeployOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'endpoint/deploy_model/component.yaml'))
os.path.dirname(__file__), 'endpoint/deploy_model/component.yaml'
)
)

ModelUndeployOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'endpoint/undeploy_model/component.yaml'))
os.path.dirname(__file__), 'endpoint/undeploy_model/component.yaml'
)
)

ModelBatchPredictOp = load_component_from_file(
os.path.join(os.path.dirname(__file__), 'batch_predict_job/component.yaml'))
os.path.join(os.path.dirname(__file__), 'batch_predict_job/component.yaml')
)

ModelUploadOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'model/upload_model/component.yaml'))
os.path.join(os.path.dirname(__file__), 'model/upload_model/component.yaml')
)

EndpointCreateOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'endpoint/create_endpoint/component.yaml'))
os.path.dirname(__file__), 'endpoint/create_endpoint/component.yaml'
)
)

EndpointDeleteOp = load_component_from_file(
os.path.join(
os.path.dirname(__file__), 'endpoint/delete_endpoint/component.yaml'))
os.path.dirname(__file__), 'endpoint/delete_endpoint/component.yaml'
)
)
Loading

0 comments on commit 183313c

Please sign in to comment.