Skip to content

Commit

Permalink
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@54a…
Browse files Browse the repository at this point in the history
…660b)

Co-authored-by: sjoubert <[email protected]>
  • Loading branch information
csmplatform and sjoubert committed Sep 5, 2024
1 parent fda8bd5 commit cc64269
Show file tree
Hide file tree
Showing 208 changed files with 1,412 additions and 1,243 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

- API version: 4.0.1-SNAPSHOT
- Package version: 1.0.0
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://github.com/Cosmo-Tech/cosmotech-api](https://github.com/Cosmo-Tech/cosmotech-api)

Expand Down
43 changes: 23 additions & 20 deletions cosmotech_api/api/connector_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from typing_extensions import Annotated

from pydantic import Field, StrictInt, StrictStr
from typing import Optional
from typing import List, Optional
from typing_extensions import Annotated
from cosmotech_api.models.connector import Connector

Expand Down Expand Up @@ -265,7 +265,7 @@ def _find_all_connectors_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -284,11 +284,12 @@ def _find_all_connectors_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)


# authentication setting
Expand Down Expand Up @@ -529,7 +530,7 @@ def _find_connector_by_id_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -542,11 +543,12 @@ def _find_connector_by_id_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)


# authentication setting
Expand Down Expand Up @@ -787,7 +789,7 @@ def _register_connector_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand All @@ -800,11 +802,12 @@ def _register_connector_serialize(


# set the HTTP header `Accept`
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)
if 'Accept' not in _header_params:
_header_params['Accept'] = self.api_client.select_header_accept(
[
'application/json'
]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down Expand Up @@ -1059,7 +1062,7 @@ def _unregister_connector_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
Loading

0 comments on commit cc64269

Please sign in to comment.