Skip to content

Commit 4978cb0

Browse files
authored
feat(vpc): add generation for EnableRouting (scaleway#634)
1 parent 0374d8d commit 4978cb0

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

scaleway-async/scaleway_async/vpc/v2/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ async def enable_routing(
716716
"""
717717
Enable routing on a VPC.
718718
Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
719-
:param vpc_id:
719+
:param vpc_id: VPC ID.
720720
:param region: Region to target. If none is passed will use default region from the config.
721721
:return: :class:`VPC <VPC>`
722722

scaleway-async/scaleway_async/vpc/v2/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ class EnableDHCPRequest:
450450
@dataclass
451451
class EnableRoutingRequest:
452452
vpc_id: str
453+
"""
454+
VPC ID.
455+
"""
453456

454457
region: Optional[Region]
455458
"""

scaleway/scaleway/vpc/v2/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def enable_routing(
716716
"""
717717
Enable routing on a VPC.
718718
Enable routing on an existing VPC. Note that you will not be able to deactivate it afterwards.
719-
:param vpc_id:
719+
:param vpc_id: VPC ID.
720720
:param region: Region to target. If none is passed will use default region from the config.
721721
:return: :class:`VPC <VPC>`
722722

scaleway/scaleway/vpc/v2/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@ class EnableDHCPRequest:
450450
@dataclass
451451
class EnableRoutingRequest:
452452
vpc_id: str
453+
"""
454+
VPC ID.
455+
"""
453456

454457
region: Optional[Region]
455458
"""

0 commit comments

Comments
 (0)