Skip to content

Commit

Permalink
[bot] Updated client based on openapi-5e84ded/clientgen (#402)
Browse files Browse the repository at this point in the history
Co-authored-by: API Engineering <[email protected]>
  • Loading branch information
digitalocean-engineering and API Engineering authored Jan 17, 2025
1 parent 77bff05 commit 6ca0f94
Show file tree
Hide file tree
Showing 7 changed files with 30,317 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7e90337
5e84ded
6 changes: 6 additions & 0 deletions src/pydo/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
DropletsOperations,
FirewallsOperations,
FunctionsOperations,
GenaiOperations,
ImageActionsOperations,
ImagesOperations,
InvoicesOperations,
Expand Down Expand Up @@ -634,6 +635,8 @@ class GeneratedClient: # pylint: disable=client-accepts-api-version-keyword,too
:vartype vpc_peerings: pydo.operations.VpcPeeringsOperations
:ivar uptime: UptimeOperations operations
:vartype uptime: pydo.operations.UptimeOperations
:ivar genai: GenaiOperations operations
:vartype genai: pydo.operations.GenaiOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:keyword endpoint: Service URL. Default value is "https://api.digitalocean.com".
Expand Down Expand Up @@ -784,6 +787,9 @@ def __init__(
self.uptime = UptimeOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.genai = GenaiOperations(
self._client, self._config, self._serialize, self._deserialize
)

def send_request(
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any
Expand Down
6 changes: 6 additions & 0 deletions src/pydo/aio/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
DropletsOperations,
FirewallsOperations,
FunctionsOperations,
GenaiOperations,
ImageActionsOperations,
ImagesOperations,
InvoicesOperations,
Expand Down Expand Up @@ -634,6 +635,8 @@ class GeneratedClient: # pylint: disable=client-accepts-api-version-keyword,too
:vartype vpc_peerings: pydo.aio.operations.VpcPeeringsOperations
:ivar uptime: UptimeOperations operations
:vartype uptime: pydo.aio.operations.UptimeOperations
:ivar genai: GenaiOperations operations
:vartype genai: pydo.aio.operations.GenaiOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:keyword endpoint: Service URL. Default value is "https://api.digitalocean.com".
Expand Down Expand Up @@ -784,6 +787,9 @@ def __init__(
self.uptime = UptimeOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.genai = GenaiOperations(
self._client, self._config, self._serialize, self._deserialize
)

def send_request(
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any
Expand Down
2 changes: 2 additions & 0 deletions src/pydo/aio/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
from ._operations import VpcsOperations
from ._operations import VpcPeeringsOperations
from ._operations import UptimeOperations
from ._operations import GenaiOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand Down Expand Up @@ -82,6 +83,7 @@
"VpcsOperations",
"VpcPeeringsOperations",
"UptimeOperations",
"GenaiOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
14,714 changes: 14,714 additions & 0 deletions src/pydo/aio/operations/_operations.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/pydo/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
from ._operations import VpcsOperations
from ._operations import VpcPeeringsOperations
from ._operations import UptimeOperations
from ._operations import GenaiOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand Down Expand Up @@ -82,6 +83,7 @@
"VpcsOperations",
"VpcPeeringsOperations",
"UptimeOperations",
"GenaiOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Loading

0 comments on commit 6ca0f94

Please sign in to comment.