From 1b197be5c867fd96ce1eee7cf5984357b7141e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Thu, 22 May 2025 08:39:43 +0200 Subject: [PATCH] chore: regenarated --- README.md | 2 +- codex_api_client/configuration.py | 11 +++++++++-- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d100203..fcf99f0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: - API version: 0.0.1 - Package version: 0.3.0 -- Generator version: 7.10.0 +- Generator version: 7.12.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/codex_api_client/configuration.py b/codex_api_client/configuration.py index 30bd507..9689365 100644 --- a/codex_api_client/configuration.py +++ b/codex_api_client/configuration.py @@ -18,7 +18,7 @@ import logging from logging import FileHandler import multiprocessing import sys -from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict +from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union from typing_extensions import NotRequired, Self import urllib3 @@ -160,6 +160,8 @@ class Configuration: :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. + :param ca_cert_data: verify the peer using concatenated CA certificate data + in PEM (str) or DER (bytes) format. """ @@ -173,13 +175,14 @@ class Configuration: username: Optional[str]=None, password: Optional[str]=None, access_token: Optional[str]=None, - server_index: Optional[int]=None, + server_index: Optional[int]=None, server_variables: Optional[ServerVariablesT]=None, server_operation_index: Optional[Dict[int, int]]=None, server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None, ignore_operation_servers: bool=False, ssl_ca_cert: Optional[str]=None, retries: Optional[int] = None, + ca_cert_data: Optional[Union[str, bytes]] = None, *, debug: Optional[bool] = None, ) -> None: @@ -257,6 +260,10 @@ class Configuration: self.ssl_ca_cert = ssl_ca_cert """Set this to customize the certificate file to verify the peer. """ + self.ca_cert_data = ca_cert_data + """Set this to verify the peer using PEM (str) or DER (bytes) + certificate data. + """ self.cert_file = None """client certificate file """ diff --git a/pyproject.toml b/pyproject.toml index a92277a..e49d9e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ include = ["codex_api_client/py.typed"] [tool.poetry.dependencies] python = "^3.8" -urllib3 = ">= 1.25.3 < 3.0.0" +urllib3 = ">= 1.25.3, < 3.0.0" python-dateutil = ">= 2.8.2" pydantic = ">= 2" typing-extensions = ">= 4.7.1" diff --git a/setup.py b/setup.py index 2ce315d..967131d 100644 --- a/setup.py +++ b/setup.py @@ -46,4 +46,4 @@ setup( List of endpoints and interfaces available to Codex API users """, # noqa: E501 package_data={"codex_api_client": ["py.typed"]}, -) +) \ No newline at end of file