From cc06ca53bdb30f6baeda76675be30ab527fab65d Mon Sep 17 00:00:00 2001 From: Omar Miraj Date: Fri, 14 Mar 2025 10:09:20 -0400 Subject: [PATCH] fix example for reading file fields --- example/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.py b/example/example.py index 423c7b3f..2cfc0e41 100644 --- a/example/example.py +++ b/example/example.py @@ -350,7 +350,7 @@ async def create_attach_and_delete_file_field_item(client: Client): # [developer-docs.sdk.python.read-file-field]-start # Read the file field from an item content = await client.items.files.read( - created_item.vault_id, created_item.id, created_item.files[0] + created_item.vault_id, created_item.id, created_item.files[0].attributes ) # [developer-docs.sdk.python.read-file-field]-end print(content.decode())