Skip to content

Commit 6f25619

Browse files
committed
feat: update generated APIs
1 parent 68b2e72 commit 6f25619

File tree

6 files changed

+0
-24
lines changed

6 files changed

+0
-24
lines changed

scaleway-async/scaleway_async/iam/v1alpha1/api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,13 +630,11 @@ async def update_user_password(
630630
*,
631631
user_id: str,
632632
password: str,
633-
send_email: bool,
634633
) -> User:
635634
"""
636635
Update an user's password. Private Beta feature.
637636
:param user_id: ID of the user to update.
638637
:param password: The new password.
639-
:param send_email: Whether or not to send an email alerting the user their password has changed.
640638
:return: :class:`User <User>`
641639
642640
Usage:
@@ -645,7 +643,6 @@ async def update_user_password(
645643
result = await api.update_user_password(
646644
user_id="example",
647645
password="example",
648-
send_email=False,
649646
)
650647
"""
651648

@@ -658,7 +655,6 @@ async def update_user_password(
658655
UpdateUserPasswordRequest(
659656
user_id=user_id,
660657
password=password,
661-
send_email=send_email,
662658
),
663659
self.client,
664660
),

scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,9 +1455,6 @@ def marshal_UpdateUserPasswordRequest(
14551455
if request.password is not None:
14561456
output["password"] = request.password
14571457

1458-
if request.send_email is not None:
1459-
output["send_email"] = request.send_email
1460-
14611458
return output
14621459

14631460

scaleway-async/scaleway_async/iam/v1alpha1/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,11 +1970,6 @@ class UpdateUserPasswordRequest:
19701970
The new password.
19711971
"""
19721972

1973-
send_email: bool
1974-
"""
1975-
Whether or not to send an email alerting the user their password has changed.
1976-
"""
1977-
19781973

19791974
@dataclass
19801975
class UpdateUserRequest:

scaleway/scaleway/iam/v1alpha1/api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,13 +630,11 @@ def update_user_password(
630630
*,
631631
user_id: str,
632632
password: str,
633-
send_email: bool,
634633
) -> User:
635634
"""
636635
Update an user's password. Private Beta feature.
637636
:param user_id: ID of the user to update.
638637
:param password: The new password.
639-
:param send_email: Whether or not to send an email alerting the user their password has changed.
640638
:return: :class:`User <User>`
641639
642640
Usage:
@@ -645,7 +643,6 @@ def update_user_password(
645643
result = api.update_user_password(
646644
user_id="example",
647645
password="example",
648-
send_email=False,
649646
)
650647
"""
651648

@@ -658,7 +655,6 @@ def update_user_password(
658655
UpdateUserPasswordRequest(
659656
user_id=user_id,
660657
password=password,
661-
send_email=send_email,
662658
),
663659
self.client,
664660
),

scaleway/scaleway/iam/v1alpha1/marshalling.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,9 +1455,6 @@ def marshal_UpdateUserPasswordRequest(
14551455
if request.password is not None:
14561456
output["password"] = request.password
14571457

1458-
if request.send_email is not None:
1459-
output["send_email"] = request.send_email
1460-
14611458
return output
14621459

14631460

scaleway/scaleway/iam/v1alpha1/types.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,11 +1970,6 @@ class UpdateUserPasswordRequest:
19701970
The new password.
19711971
"""
19721972

1973-
send_email: bool
1974-
"""
1975-
Whether or not to send an email alerting the user their password has changed.
1976-
"""
1977-
19781973

19791974
@dataclass
19801975
class UpdateUserRequest:

0 commit comments

Comments
 (0)