|
18 | 18 | from logging import FileHandler |
19 | 19 | import multiprocessing |
20 | 20 | import sys |
21 | | -from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union |
| 21 | +from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict |
22 | 22 | from typing_extensions import NotRequired, Self |
23 | 23 |
|
24 | 24 | import urllib3 |
@@ -162,8 +162,6 @@ class Configuration: |
162 | 162 | :param ssl_ca_cert: str - the path to a file of concatenated CA certificates |
163 | 163 | in PEM format. |
164 | 164 | :param retries: Number of retries for API requests. |
165 | | - :param ca_cert_data: verify the peer using concatenated CA certificate data |
166 | | - in PEM (str) or DER (bytes) format. |
167 | 165 |
|
168 | 166 | :Example: |
169 | 167 |
|
@@ -197,14 +195,13 @@ def __init__( |
197 | 195 | username: Optional[str]=None, |
198 | 196 | password: Optional[str]=None, |
199 | 197 | access_token: Optional[str]=None, |
200 | | - server_index: Optional[int]=None, |
| 198 | + server_index: Optional[int]=None, |
201 | 199 | server_variables: Optional[ServerVariablesT]=None, |
202 | 200 | server_operation_index: Optional[Dict[int, int]]=None, |
203 | 201 | server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None, |
204 | 202 | ignore_operation_servers: bool=False, |
205 | 203 | ssl_ca_cert: Optional[str]=None, |
206 | 204 | retries: Optional[int] = None, |
207 | | - ca_cert_data: Optional[Union[str, bytes]] = None, |
208 | 205 | *, |
209 | 206 | debug: Optional[bool] = None, |
210 | 207 | ) -> None: |
@@ -282,10 +279,6 @@ def __init__( |
282 | 279 | self.ssl_ca_cert = ssl_ca_cert |
283 | 280 | """Set this to customize the certificate file to verify the peer. |
284 | 281 | """ |
285 | | - self.ca_cert_data = ca_cert_data |
286 | | - """Set this to verify the peer using PEM (str) or DER (bytes) |
287 | | - certificate data. |
288 | | - """ |
289 | 282 | self.cert_file = None |
290 | 283 | """client certificate file |
291 | 284 | """ |
@@ -539,7 +532,7 @@ def to_debug_report(self) -> str: |
539 | 532 | "OS: {env}\n"\ |
540 | 533 | "Python Version: {pyversion}\n"\ |
541 | 534 | "Version of the API: v1.3\n"\ |
542 | | - "SDK Package Version: 1.5.2".\ |
| 535 | + "SDK Package Version: 1.5.3".\ |
543 | 536 | format(env=sys.platform, pyversion=sys.version) |
544 | 537 |
|
545 | 538 | def get_host_settings(self) -> List[HostSetting]: |
|
0 commit comments