Skip to content

Commit 00c29dc

Browse files
committed
chore: update missing export in __init__
1 parent fb5eb70 commit 00c29dc

File tree

11 files changed

+56
-12
lines changed

11 files changed

+56
-12
lines changed

hcloud/actions/__init__.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,25 @@
99
)
1010
from .domain import (
1111
Action,
12+
ActionError,
1213
ActionException,
1314
ActionFailedException,
15+
ActionResource,
1416
ActionStatus,
1517
ActionTimeoutException,
1618
)
1719

1820
__all__ = [
19-
"Action",
20-
"ActionStatus",
21-
"ActionException",
22-
"ActionFailedException",
23-
"ActionTimeoutException",
2421
"ActionsClient",
25-
"ActionSort",
2622
"ActionsPageResult",
2723
"BoundAction",
2824
"ResourceActionsClient",
25+
"ActionSort",
26+
"ActionStatus",
27+
"Action",
28+
"ActionResource",
29+
"ActionError",
30+
"ActionException",
31+
"ActionFailedException",
32+
"ActionTimeoutException",
2933
]

hcloud/deprecation/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
from .domain import DeprecationInfo
44

5-
__all__ = ["DeprecationInfo"]
5+
__all__ = [
6+
"DeprecationInfo",
7+
]

hcloud/floating_ips/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
FloatingIPsClient,
66
FloatingIPsPageResult,
77
)
8-
from .domain import CreateFloatingIPResponse, FloatingIP
8+
from .domain import CreateFloatingIPResponse, FloatingIP, FloatingIPProtection
99

1010
__all__ = [
1111
"BoundFloatingIP",
1212
"CreateFloatingIPResponse",
1313
"FloatingIP",
14+
"FloatingIPProtection",
1415
"FloatingIPsClient",
1516
"FloatingIPsPageResult",
1617
]

hcloud/helpers/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
from .labels import LabelValidator
44

5-
__all__ = ["LabelValidator"]
5+
__all__ = [
6+
"LabelValidator",
7+
]

hcloud/images/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
from __future__ import annotations
22

33
from .client import BoundImage, ImagesClient, ImagesPageResult
4-
from .domain import CreateImageResponse, Image
4+
from .domain import CreateImageResponse, Image, ImageProtection
55

66
__all__ = [
77
"BoundImage",
88
"CreateImageResponse",
99
"Image",
10+
"ImageProtection",
1011
"ImagesClient",
1112
"ImagesPageResult",
1213
]

hcloud/load_balancers/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515
LoadBalancerHealtCheckHttp,
1616
LoadBalancerHealthCheck,
1717
LoadBalancerHealthCheckHttp,
18+
LoadBalancerProtection,
1819
LoadBalancerService,
1920
LoadBalancerServiceHttp,
2021
LoadBalancerTarget,
2122
LoadBalancerTargetHealthStatus,
2223
LoadBalancerTargetIP,
2324
LoadBalancerTargetLabelSelector,
25+
MetricsType,
2426
PrivateNet,
2527
PublicNetwork,
2628
)
@@ -32,6 +34,7 @@
3234
"IPv4Address",
3335
"IPv6Network",
3436
"LoadBalancer",
37+
"LoadBalancerProtection",
3538
"LoadBalancerAlgorithm",
3639
"LoadBalancerHealtCheckHttp",
3740
"LoadBalancerHealthCheckHttp",
@@ -46,4 +49,5 @@
4649
"LoadBalancersPageResult",
4750
"PrivateNet",
4851
"PublicNetwork",
52+
"MetricsType",
4953
]

hcloud/networks/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .domain import (
55
CreateNetworkResponse,
66
Network,
7+
NetworkProtection,
78
NetworkRoute,
89
NetworkSubnet,
910
)
@@ -12,6 +13,7 @@
1213
"BoundNetwork",
1314
"CreateNetworkResponse",
1415
"Network",
16+
"NetworkProtection",
1517
"NetworkRoute",
1618
"NetworkSubnet",
1719
"NetworksClient",

hcloud/primary_ips/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
from __future__ import annotations
22

33
from .client import BoundPrimaryIP, PrimaryIPsClient, PrimaryIPsPageResult
4-
from .domain import CreatePrimaryIPResponse, PrimaryIP
4+
from .domain import CreatePrimaryIPResponse, PrimaryIP, PrimaryIPProtection
55

66
__all__ = [
77
"BoundPrimaryIP",
88
"CreatePrimaryIPResponse",
99
"PrimaryIP",
10+
"PrimaryIPProtection",
1011
"PrimaryIPsClient",
1112
"PrimaryIPsPageResult",
1213
]

hcloud/servers/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@
77
GetMetricsResponse,
88
IPv4Address,
99
IPv6Network,
10+
MetricsType,
1011
PrivateNet,
1112
PublicNetwork,
1213
PublicNetworkFirewall,
14+
RebuildResponse,
1315
RequestConsoleResponse,
1416
ResetPasswordResponse,
1517
Server,
1618
ServerCreatePublicNetwork,
19+
ServerProtection,
1720
)
1821

1922
__all__ = [
@@ -29,7 +32,10 @@
2932
"RequestConsoleResponse",
3033
"ResetPasswordResponse",
3134
"Server",
35+
"ServerProtection",
3236
"ServerCreatePublicNetwork",
3337
"ServersClient",
3438
"ServersPageResult",
39+
"RebuildResponse",
40+
"MetricsType",
3541
]

hcloud/volumes/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
from __future__ import annotations
22

33
from .client import BoundVolume, VolumesClient, VolumesPageResult
4-
from .domain import CreateVolumeResponse, Volume
4+
from .domain import CreateVolumeResponse, Volume, VolumeProtection
55

66
__all__ = [
77
"BoundVolume",
88
"CreateVolumeResponse",
99
"Volume",
10+
"VolumeProtection",
1011
"VolumesClient",
1112
"VolumesPageResult",
1213
]

0 commit comments

Comments
 (0)