Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

Commit 20424e6

Browse files
dpebotJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Auto-update dependencies. [(#1005)](GoogleCloudPlatform/python-docs-samples#1005)
* Auto-update dependencies. * Fix bigtable lint * Fix IOT iam interaction
1 parent 3c2b6c8 commit 20424e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/api-client/manager/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_iot_topic(topic_name):
5151
topic = pubsub_client.topic(topic_name)
5252
policy = topic.get_iam_policy()
5353
publishers = policy.get('roles/pubsub.publisher', [])
54-
publishers.append(policy.service_account(
54+
publishers.add(policy.service_account(
5555
5656
policy['roles/pubsub.publisher'] = publishers
5757
topic.set_iam_policy(policy)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
google-api-python-client==1.6.2
22
google-auth-httplib2==0.0.2
33
google-auth==1.0.1
4-
google-cloud==0.25.0
4+
google-cloud==0.26.0

0 commit comments

Comments
 (0)