Skip to content

Commit 13ed740

Browse files
committed
Updated: 2025-01-22
1 parent add4bdd commit 13ed740

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

timeweb_cloud_api/models/database_cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def status_validate_enum(cls, value):
7070
if value is None:
7171
return value
7272

73-
if value not in ('started', 'starting', 'stopped', 'no_paid'):
74-
raise ValueError("must be one of enum values ('started', 'starting', 'stopped', 'no_paid')")
73+
if value not in ('started', 'starting', 'stopped', 'no_paid', 'lan_transfer', 'error', 'blocked', 'backup_recovery', 'rebooting', 'turning_off', 'turning_on'):
74+
raise ValueError("must be one of enum values ('started', 'starting', 'stopped', 'no_paid', 'lan_transfer', 'error', 'blocked', 'backup_recovery', 'rebooting', 'turning_off', 'turning_on')")
7575
return value
7676

7777
class Config:

0 commit comments

Comments
 (0)