We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 365bbec commit a026db6Copy full SHA for a026db6
example/example.py
@@ -20,8 +20,7 @@ async def main():
20
print(value)
21
22
# Create an Item and add it to your vault.
23
- to_create = Item(
24
- id="",
+ to_create = ItemCreateParams(
25
title="MyName",
26
category="Login",
27
vault_id="q73bqltug6xoegr3wkk2zkenoq",
@@ -54,7 +53,7 @@ async def main():
54
53
55
# Update a field in your item
56
item.fields[0].value = "new_value"
57
- updated_item = await client.items.update(item)
+ updated_item = await client.items.put(item)
58
59
print(dict(updated_item))
60
0 commit comments