Skip to content

Commit fd2a559

Browse files
Merge pull request #12 from Unstructured-IO/awalker4-patch-1
chore: fix example in readme for updated Files object
2 parents 1ecb837 + 8e02f3b commit fd2a559

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

+2-11
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ file = open(filename, "rb")
3939

4040
req = shared.PartitionParameters(
4141
# Note that this currently only supports a single file
42-
files=shared.PartitionParametersFiles(
42+
files=shared.Files(
4343
content=file.read(),
44-
files=filename,
44+
file_name=filename,
4545
),
4646
# Other partition params
4747
strategy="fast",
@@ -83,19 +83,10 @@ s = unstructured_client.UnstructuredClient(
8383

8484
<!-- End Dev Containers -->
8585

86-
87-
88-
8986
<!-- No SDK Example Usage -->
90-
9187
<!-- No SDK Available Operations -->
92-
9388
<!-- No Pagination -->
9489
<!-- No Error Handling -->
95-
96-
97-
98-
9990
<!-- No Server Selection -->
10091

10192
<!-- Start Custom HTTP Client -->

0 commit comments

Comments
 (0)