Skip to content

Commit 77f982c

Browse files
committed
Fix typing error
1 parent 8625982 commit 77f982c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unstructured_client/_hooks/custom/clean_server_url_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def clean_server_url(base_url: str) -> str:
3232
return urlunparse(parsed_url._replace(path="", params="", query="", fragment=""))
3333

3434

35-
def choose_server_url(endpoint_url: str, client_url: str, default_endpoint_url: str) -> str:
35+
def choose_server_url(endpoint_url: str | None, client_url: str, default_endpoint_url: str) -> str:
3636
"""
3737
Helper function to fix a breaking change in the SDK past 0.30.0.
3838
When we merged the partition and platform specs, the client server_url stopped working,

0 commit comments

Comments
 (0)