@@ -55,7 +55,7 @@ async def main():
5555 to_create = ItemCreateParams (
5656 title = "MyName" ,
5757 category = ItemCategory .LOGIN ,
58- vault_id = "bhld6zk6hkuntyqlsjy3bdawey " ,
58+ vault_id = "7turaasywpymt3jecxoxk5roli " ,
5959 fields = [
6060 ItemField (
6161 id = "username" ,
@@ -410,10 +410,10 @@ def generate_special_item_fields():
410410 ItemField (
411411 id = "address" ,
412412 title = "Address" ,
413+ sectionId = "" ,
413414 field_type = ItemFieldType .ADDRESS ,
414415 value = "" ,
415416 details = ItemFieldDetailsAddress (
416- type = "Address" ,
417417 content = AddressFieldDetails (
418418 street = "1234 Main St" ,
419419 city = "San Francisco" ,
@@ -422,42 +422,41 @@ def generate_special_item_fields():
422422 country = "USA" ,
423423 ),
424424 ),
425- sectionId = "" ,
426425 ),
427426 # [developer-docs.sdk.python.address-field-type]-end
428427 # [developer-docs.sdk.python.date-field-type]-start
429428 ItemField (
430429 id = "date" ,
431430 title = "Date" ,
431+ section_id = "" ,
432432 field_type = ItemFieldType .DATE ,
433- section_id = "mysection" ,
434433 value = "1998-03-15" ,
435434 ),
436435 # [developer-docs.sdk.python.date-field-type]-end
437436 # [developer-docs.sdk.python.month-year-field-type]-start
438437 ItemField (
439438 id = "month_year" ,
440439 title = "Month Year" ,
440+ section_id = "" ,
441441 field_type = ItemFieldType .MONTHYEAR ,
442- section_id = "mysection" ,
443442 value = "03/1998" ,
444443 ),
445444 # [developer-docs.sdk.python.month-year-field-type]-end
446445 # [developer-docs.sdk.python.reference-field-type]-start
447446 ItemField (
448447 id = "Reference" ,
449448 title = "Reference" ,
449+ sectionId = "" ,
450450 field_type = ItemFieldType .REFERENCE ,
451451 value = "f43hnkatjllm5fsfsmgaqdhv7a" ,
452- sectionId = "references" ,
453452 ),
454453 # [developer-docs.sdk.python.reference-field-type]-end
455454 # [developer-docs.sdk.python.totp-field-type]-start
456455 ItemField (
457456 id = "onetimepassword" ,
458457 title = "one-time-password" ,
458+ section_id = "" ,
459459 field_type = ItemFieldType .TOTP ,
460- section_id = "totpsection" ,
461460 value = "otpauth://totp/my-example-otp?secret=jncrjgbdjnrncbjsr&issuer=1Password" ,
462461 ),
463462 # [developer-docs.sdk.python.totp-field-type]-end
0 commit comments