Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cf51bcd
1cad93c
24 changes: 11 additions & 13 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -116860,7 +116860,7 @@ async def list_logsink(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:
Example:
.. code-block:: python

# response body for status code(s): 201
# response body for status code(s): 200
response == {
"sinks": [
{
Expand Down Expand Up @@ -116919,14 +116919,14 @@ async def list_logsink(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:

response = pipeline_response.http_response

if response.status_code not in [201, 404]:
if response.status_code not in [200, 404]:
if _stream:
await response.read() # Load the body in memory and close the socket
map_error(status_code=response.status_code, response=response, error_map=error_map) # type: ignore
raise HttpResponseError(response=response)

response_headers = {}
if response.status_code == 201:
if response.status_code == 200:
response_headers["ratelimit-limit"] = self._deserialize(
"int", response.headers.get("ratelimit-limit")
)
Expand Down Expand Up @@ -117247,15 +117247,13 @@ async def get_logsink(
Example:
.. code-block:: python

# response body for status code(s): 201
# response body for status code(s): 200
response == {
"sink": {
"config": {},
"sink_id": "str", # Optional. A unique identifier for Logsink.
"sink_name": "str", # Optional. The name of the Logsink.
"sink_type": "str" # Optional. Known values are: "rsyslog",
"elasticsearch", and "opensearch".
}
"config": {},
"sink_id": "str", # Optional. A unique identifier for Logsink.
"sink_name": "str", # Optional. The name of the Logsink.
"sink_type": "str" # Optional. Known values are: "rsyslog", "elasticsearch",
and "opensearch".
}
# response body for status code(s): 404
response == {
Expand Down Expand Up @@ -117304,14 +117302,14 @@ async def get_logsink(

response = pipeline_response.http_response

if response.status_code not in [201, 404]:
if response.status_code not in [200, 404]:
if _stream:
await response.read() # Load the body in memory and close the socket
map_error(status_code=response.status_code, response=response, error_map=error_map) # type: ignore
raise HttpResponseError(response=response)

response_headers = {}
if response.status_code == 201:
if response.status_code == 200:
response_headers["ratelimit-limit"] = self._deserialize(
"int", response.headers.get("ratelimit-limit")
)
Expand Down
24 changes: 11 additions & 13 deletions src/pydo/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -129472,7 +129472,7 @@ def list_logsink(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:
Example:
.. code-block:: python

# response body for status code(s): 201
# response body for status code(s): 200
response == {
"sinks": [
{
Expand Down Expand Up @@ -129531,14 +129531,14 @@ def list_logsink(self, database_cluster_uuid: str, **kwargs: Any) -> JSON:

response = pipeline_response.http_response

if response.status_code not in [201, 404]:
if response.status_code not in [200, 404]:
if _stream:
response.read() # Load the body in memory and close the socket
map_error(status_code=response.status_code, response=response, error_map=error_map) # type: ignore
raise HttpResponseError(response=response)

response_headers = {}
if response.status_code == 201:
if response.status_code == 200:
response_headers["ratelimit-limit"] = self._deserialize(
"int", response.headers.get("ratelimit-limit")
)
Expand Down Expand Up @@ -129859,15 +129859,13 @@ def get_logsink(
Example:
.. code-block:: python

# response body for status code(s): 201
# response body for status code(s): 200
response == {
"sink": {
"config": {},
"sink_id": "str", # Optional. A unique identifier for Logsink.
"sink_name": "str", # Optional. The name of the Logsink.
"sink_type": "str" # Optional. Known values are: "rsyslog",
"elasticsearch", and "opensearch".
}
"config": {},
"sink_id": "str", # Optional. A unique identifier for Logsink.
"sink_name": "str", # Optional. The name of the Logsink.
"sink_type": "str" # Optional. Known values are: "rsyslog", "elasticsearch",
and "opensearch".
}
# response body for status code(s): 404
response == {
Expand Down Expand Up @@ -129916,14 +129914,14 @@ def get_logsink(

response = pipeline_response.http_response

if response.status_code not in [201, 404]:
if response.status_code not in [200, 404]:
if _stream:
response.read() # Load the body in memory and close the socket
map_error(status_code=response.status_code, response=response, error_map=error_map) # type: ignore
raise HttpResponseError(response=response)

response_headers = {}
if response.status_code == 201:
if response.status_code == 200:
response_headers["ratelimit-limit"] = self._deserialize(
"int", response.headers.get("ratelimit-limit")
)
Expand Down