Skip to content

Commit 436b345

Browse files
committed
Add print line for updated vault example
1 parent 13becfd commit 436b345

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

example/example.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,12 @@ async def showcase_vault_operations(client: Client):
228228
title="Python SDK Updated Name",
229229
description="Updated description",
230230
)
231-
232-
await client.vaults.update(created_vault.id, update_params)
231+
232+
updated_vault = await client.vaults.update(created_vault.id, update_params)
233+
print(
234+
f'Updated vault "{updated_vault.title}" ({updated_vault.id}): '
235+
f'{updated_vault.description!r}'
236+
)
233237
# [developer-docs.sdk.python.update-vault]-end
234238

235239
# [developer-docs.sdk.python.get-vault-details]-start

0 commit comments

Comments
 (0)