Skip to content

Commit f4a7e37

Browse files
committed
update comment and function sig of archive and share item
1 parent 0b8d817 commit f4a7e37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,14 @@ async def main():
176176
## NOTE: just for the sake of archiving it. This is because the SDK
177177
## NOTE: only works with active items, so archiving and then deleting
178178
## NOTE: is not yet possible.
179-
async def archive_item(vault_id: str, item_id: str, client: Client):
179+
async def archive_item(client: Client, vault_id: str, item_id: str):
180180
# [developer-docs.sdk.python.archive-item]-start
181-
# Delete a item from your vault.
181+
# Archive a item from your vault.
182182
await client.items.archive(vault_id, item_id)
183183
# [developer-docs.sdk.python.archive-item]-end
184184

185185

186-
async def share_item(vault_id: str, item_id: str, client: Client):
186+
async def share_item(client: Client, vault_id: str, item_id: str):
187187
# [developer-docs.sdk.python.item-share-get-item]-start
188188
item = await client.items.get(vault_id, item_id)
189189
print(item)

0 commit comments

Comments
 (0)