Skip to content

Commit 5b05352

Browse files
committed
Standardized filepath placeholders
1 parent 9106205 commit 5b05352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def create_and_replace_document_item(client: Client, vault_id: str):
430430
ItemSection(id="", title=""),
431431
],
432432
document=DocumentCreateParams(
433-
name="file.txt", content=Path("./example/file.txt").read_bytes()
433+
name="file.txt", content=Path("/path/to/your/file.txt").read_bytes()
434434
),
435435
)
436436
created_item = await client.items.create(to_create)
@@ -484,7 +484,7 @@ async def create_attach_and_delete_file_field_item(client: Client, vault_id: str
484484
files=[
485485
FileCreateParams(
486486
name="file.txt",
487-
content=Path("./example/file.txt").read_bytes(),
487+
content=Path("/path/to/your/file.txt").read_bytes(),
488488
sectionId="",
489489
fieldId="file_field",
490490
)

0 commit comments

Comments
 (0)