Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update license headers, ensure double quotes is used everywhere, leav…
…e black formatting
  • Loading branch information
nnegrey committed Dec 19, 2019
commit 49667a8706065d142e7a0271dda79904f9acbe65
4 changes: 2 additions & 2 deletions automl/cloud-client/delete_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def delete_model(project_id, model_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# model_id = 'YOUR_MODEL_ID'
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"

client = automl.AutoMlClient()
# Get the full path of the model.
Expand Down
4 changes: 2 additions & 2 deletions automl/cloud-client/deploy_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def deploy_model(project_id, model_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# model_id = 'YOUR_MODEL_ID'
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"

client = automl.AutoMlClient()
# Get the full path of the model.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/deploy_model_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions automl/cloud-client/get_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def get_model(project_id, model_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# model_id = 'YOUR_MODEL_ID'
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"

client = automl.AutoMlClient()
# Get the full path of the model.
Expand Down
6 changes: 3 additions & 3 deletions automl/cloud-client/get_model_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def get_model_evaluation(project_id, model_id, model_evaluation_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# model_id = 'YOUR_MODEL_ID'
# model_evaluation_id = 'YOUR_MODEL_EVALUATION_ID'
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"
# model_evaluation_id = "YOUR_MODEL_EVALUATION_ID"

client = automl.AutoMlClient()
# Get the full path of the model evaluation.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/get_model_evaluation_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/get_model_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions automl/cloud-client/list_model_evaluations.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def list_model_evaluations(project_id, model_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# model_id = 'YOUR_MODEL_ID'
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"

client = automl.AutoMlClient()
# Get the full path of the model.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/list_model_evaluations_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/list_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def list_models(project_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# project_id = "YOUR_PROJECT_ID"

client = automl.AutoMlClient()
# A resource that represents Google Cloud Platform location.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/list_models_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions automl/cloud-client/undeploy_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def undeploy_model(project_id, model_id):
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = 'YOUR_PROJECT_ID'
# model_id = 'YOUR_MODEL_ID'
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"

client = automl.AutoMlClient()
# Get the full path of the model.
Expand Down
2 changes: 1 addition & 1 deletion automl/cloud-client/undeploy_model_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down