We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9ebc9 commit ed726d9Copy full SHA for ed726d9
src/unstructured_client/_hooks/custom/clean_server_url_hook.py
@@ -7,7 +7,7 @@
7
from unstructured_client.httpclient import HttpClient
8
9
10
-def clean_server_url(base_url: str) -> str:
+def clean_server_url(base_url: str | None) -> str:
11
"""Fix url scheme and remove subpath for URLs under Unstructured domains."""
12
13
if not base_url:
0 commit comments