Skip to content

Commit 0ab27cf

Browse files
docs: bump the Change The Base Url example code for recent release changes
2 parents 9da8865 + b19f900 commit 0ab27cf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,13 @@ If you are self hosting the API, or developing locally, you can change the serve
6969
# Using a local server
7070
s = unstructured_client.UnstructuredClient(
7171
server_url="http://localhost:8000",
72-
security=shared.Security(
73-
api_key_auth=api_key,
74-
),
72+
api_key_auth=api_key,
7573
)
7674

7775
# Using your own server
7876
s = unstructured_client.UnstructuredClient(
7977
server_url="https://your-server",
80-
security=shared.Security(
81-
api_key_auth=api_key,
82-
),
78+
api_key_auth=api_key,
8379
)
8480
```
8581

0 commit comments

Comments
 (0)