configuration
the jobq cluster workflow management tool backend
Backend service for the appliedAI infrastructure product
The version of the OpenAPI document: 0.1.0 Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Configuration ¶
This class contains various settings of the API client.
:param host: Base url.
:param ignore_operation_servers
Boolean to ignore operation servers for the API client.
Config will use host
as the base url regardless of the operation servers.
:param api_key: Dict to store API key(s).
Each entry in the dict specifies an API key.
The dict key is the name of the security scheme in the OAS specification.
The dict value is the API key secret.
:param api_key_prefix: Dict to store API prefix (e.g. Bearer).
The dict key is the name of the security scheme in the OAS specification.
The dict value is an API key prefix when generating the auth data.
:param username: Username for HTTP basic authentication.
:param password: Password for HTTP basic authentication.
:param access_token: Access token.
:param server_index: Index to servers configuration.
:param server_variables: Mapping with string values to replace variables in
templated server configuration. The validation of enums is performed for
variables with defined enum values before.
:param server_operation_index: Mapping from operation ID to an index to server
configuration.
:param server_operation_variables: Mapping from operation ID to a mapping with
string values to replace variables in templated server configuration.
The validation of enums is performed for variables with defined enum
values before.
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
in PEM format.
:param retries: Number of retries for API requests.
Source code in client/src/openapi_client/configuration.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 |
|
server_operation_index
instance-attribute
¶
server_operation_index = server_operation_index or {}
Default server index
server_operation_variables
instance-attribute
¶
server_operation_variables = server_operation_variables or {}
Default server variables
ignore_operation_servers
instance-attribute
¶
ignore_operation_servers = ignore_operation_servers
Ignore operation servers
temp_folder_path
instance-attribute
¶
Temp file folder for downloading files
refresh_api_key_hook
instance-attribute
¶
function hook to refresh API key if expired
logger_file_handler
instance-attribute
¶
Log file handler
verify_ssl
instance-attribute
¶
SSL/TLS verification Set this to false to skip verifying SSL certificate when calling API from https server.
ssl_ca_cert
instance-attribute
¶
ssl_ca_cert = ssl_ca_cert
Set this to customize the certificate file to verify the peer.
assert_hostname
instance-attribute
¶
Set this to True/False to enable/disable SSL hostname verification.
tls_server_name
instance-attribute
¶
SSL/TLS Server Name Indication (SNI) Set this to the SNI value expected by the server.
connection_pool_maxsize
instance-attribute
¶
urllib3 connection pool's maximum number of connections saved per pool. urllib3 uses 1 connection as default value, but this is not the best value when you are making a lot of possibly parallel requests to the same host, which is often the case here. cpu_count * 5 is used as default value to increase performance.
safe_chars_for_path_param
instance-attribute
¶
Safe chars for path_param
socket_options
instance-attribute
¶
Options to pass down to the underlying urllib3 socket
logger_file
property
writable
¶
The logger file.
If the logger_file is None, then add stream handler and remove file handler. Otherwise, add file handler and remove stream handler.
:param value: The logger_file path. :type: str
debug
property
writable
¶
Debug status
:param value: The debug status, True or False. :type: bool
logger_format
property
writable
¶
The logger format.
The logger_formatter will be updated when sets logger_format.
:param value: The format string. :type: str
set_default
classmethod
¶
Set default instance of configuration.
It stores default configuration, which can be returned by get_default_copy method.
:param default: object of Configuration
Source code in client/src/openapi_client/configuration.py
get_default_copy
classmethod
¶
Deprecated. Please use get_default
instead.
Deprecated. Please use get_default
instead.
:return: The configuration object.
get_default
classmethod
¶
Return the default configuration.
This method returns newly created, based on default constructor, object of Configuration class or returns a copy of default configuration.
:return: The configuration object.
Source code in client/src/openapi_client/configuration.py
get_api_key_with_prefix ¶
Gets API key (with prefix if set).
:param identifier: The identifier of apiKey. :param alias: The alternative identifier of apiKey. :return: The token for api key authentication.
Source code in client/src/openapi_client/configuration.py
get_basic_auth_token ¶
Gets HTTP basic authentication header (string).
:return: The token for basic HTTP authentication.
Source code in client/src/openapi_client/configuration.py
auth_settings ¶
Gets Auth Settings dict for api client.
:return: The Auth Settings information dict.
to_debug_report ¶
Gets the essential information for debugging.
:return: The report for debugging.
Source code in client/src/openapi_client/configuration.py
get_host_settings ¶
Gets an array of host settings
:return: An array of host settings
get_host_from_settings ¶
Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value :param servers: an array of host settings or None :return: URL based on host settings