Skip to content

Commit ca62b45

Browse files
committed
Fixed new_guest_collection variable name bug
1 parent d289384 commit ca62b45

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

code/examples/create_guest_collections/create_guest_collections.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ def manage_guest_collections(
119119
{'mapped_collection_id': mapped_collection_id})
120120
)
121121

122-
new_guest_collection = gcs_client.create_collection(collection_request)
123-
# print('new_guest_collection:')
124-
# pprint(new_guest_collection)
125-
print(f'Created new guest collection "{display_name}" with collection ID {new_guest_collection["id"]}')
122+
collection = gcs_client.create_collection(collection_request)
123+
# print('collection:')
124+
# pprint(collection)
125+
print(f'Created new guest collection "{display_name}" with collection ID {collection["id"]}')
126126

127127
for permission_config in host_guest_collection_config['permissions']:
128128
# Create guest collection subdirectory if it doesn't already exist

0 commit comments

Comments
 (0)