Skip to content

Commit 98164bb

Browse files
authored
Update README.md
1 parent 8c93115 commit 98164bb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,7 @@ from unstructured_client import UnstructuredClient
3232
from unstructured_client.models import shared
3333
from unstructured_client.models.errors import SDKError
3434

35-
# Note - in an upcoming release, the Security object is removed
36-
# You'll pass the api key directly
37-
s = UnstructuredClient(
38-
security=shared.Security(
39-
api_key_auth="YOUR_API_KEY",
40-
),
41-
)
35+
s = UnstructuredClient(api_key_auth="YOUR_API_KEY")
4236

4337
filename = "sample-docs/layout-parser-paper.pdf"
4438
file = open(filename, "rb")

0 commit comments

Comments
 (0)