We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 625c545 commit 77843b3Copy full SHA for 77843b3
src/unstructured_client/sdk.py
@@ -6,13 +6,15 @@
6
from typing import Callable, Dict, Union
7
from unstructured_client import utils
8
from unstructured_client.models import shared
9
+from unstructured_client.utils._decorators import clean_server_url # human code
10
11
class UnstructuredClient:
12
r"""Unstructured Pipeline API: Partition documents with the Unstructured library"""
13
general: General
14
15
sdk_configuration: SDKConfiguration
16
17
+ @clean_server_url # human code
18
def __init__(self,
19
api_key_auth: Union[str, Callable[[], str]],
20
server: str = None,
@@ -55,4 +57,4 @@ def security():
55
57
56
58
def _init_sdks(self):
59
self.general = General(self.sdk_configuration)
-
60
+
0 commit comments