Skip to content

Commit

Permalink
[bot] Updated client based on openapi-b78970b/clientgen (#362)
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 Oct 10, 2024
1 parent 3d5c2e4 commit 0f8f158
Show file tree
Hide file tree
Showing 7 changed files with 3,436 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 @@
e67d14f
b78970b
6 changes: 6 additions & 0 deletions src/pydo/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
VolumeActionsOperations,
VolumeSnapshotsOperations,
VolumesOperations,
VpcPeeringsOperations,
VpcsOperations,
)

Expand Down Expand Up @@ -626,6 +627,8 @@ class GeneratedClient: # pylint: disable=client-accepts-api-version-keyword,too
:vartype volume_snapshots: pydo.operations.VolumeSnapshotsOperations
:ivar vpcs: VpcsOperations operations
:vartype vpcs: pydo.operations.VpcsOperations
:ivar vpc_peerings: VpcPeeringsOperations operations
:vartype vpc_peerings: pydo.operations.VpcPeeringsOperations
:ivar uptime: UptimeOperations operations
:vartype uptime: pydo.operations.UptimeOperations
:param credential: Credential needed for the client to connect to Azure. Required.
Expand Down Expand Up @@ -769,6 +772,9 @@ def __init__(
self.vpcs = VpcsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.vpc_peerings = VpcPeeringsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.uptime = UptimeOperations(
self._client, self._config, self._serialize, self._deserialize
)
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 @@ -47,6 +47,7 @@
VolumeActionsOperations,
VolumeSnapshotsOperations,
VolumesOperations,
VpcPeeringsOperations,
VpcsOperations,
)

Expand Down Expand Up @@ -626,6 +627,8 @@ class GeneratedClient: # pylint: disable=client-accepts-api-version-keyword,too
:vartype volume_snapshots: pydo.aio.operations.VolumeSnapshotsOperations
:ivar vpcs: VpcsOperations operations
:vartype vpcs: pydo.aio.operations.VpcsOperations
:ivar vpc_peerings: VpcPeeringsOperations operations
:vartype vpc_peerings: pydo.aio.operations.VpcPeeringsOperations
:ivar uptime: UptimeOperations operations
:vartype uptime: pydo.aio.operations.UptimeOperations
:param credential: Credential needed for the client to connect to Azure. Required.
Expand Down Expand Up @@ -769,6 +772,9 @@ def __init__(
self.vpcs = VpcsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.vpc_peerings = VpcPeeringsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.uptime = UptimeOperations(
self._client, self._config, self._serialize, self._deserialize
)
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 @@ -37,6 +37,7 @@
from ._operations import VolumeActionsOperations
from ._operations import VolumeSnapshotsOperations
from ._operations import VpcsOperations
from ._operations import VpcPeeringsOperations
from ._operations import UptimeOperations

from ._patch import __all__ as _patch_all
Expand Down Expand Up @@ -77,6 +78,7 @@
"VolumeActionsOperations",
"VolumeSnapshotsOperations",
"VpcsOperations",
"VpcPeeringsOperations",
"UptimeOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
Expand Down
Loading

0 comments on commit 0f8f158

Please sign in to comment.