Skip to content

Commit

Permalink
add requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtorry committed Jul 19, 2018
1 parent 76c10c2 commit 23d0f49
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion language/automl/automl_natural_language_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ def get_operation_status(operation_full_id):
client = automl.AutoMlClient()

# Get the latest state of a long-running operation.
response = client._operations_client.get_operation(operation_full_id)
response = client.transports._operations_client.get_operation(
operation_full_id
)

print("Operation status: {}".format(response))

Expand Down
1 change: 1 addition & 0 deletions language/automl/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-automl==0.1.0
4 changes: 3 additions & 1 deletion translate/automl/automl_translation_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ def get_operation_status(operation_full_id):
client = automl.AutoMlClient()

# Get the latest state of a long-running operation.
response = client._operations_client.get_operation(operation_full_id)
response = client.transports._operations_client.get_operation(
operation_full_id
)

print("Operation status: {}".format(response))

Expand Down
1 change: 1 addition & 0 deletions translate/automl/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-automl==0.1.0
4 changes: 3 additions & 1 deletion vision/automl/automl_vision_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def get_operation_status(operation_full_id):
client = automl.AutoMlClient()

# Get the latest state of a long-running operation.
response = client._operations_client.get_operation(operation_full_id)
response = client.transports._operations_client.get_operation(
operation_full_id
)

print("Operation status: {}".format(response))

Expand Down
1 change: 1 addition & 0 deletions vision/automl/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-cloud-automl==0.1.0

0 comments on commit 23d0f49

Please sign in to comment.