File tree 4 files changed +18
-0
lines changed
scaleway/scaleway/baremetal/v1
scaleway-async/scaleway_async/baremetal/v1 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ def unmarshal_SchemaPartition(data: Any) -> SchemaPartition:
91
91
if field is not None :
92
92
args ["size" ] = field
93
93
94
+ field = data .get ("use_all_available_space" , None )
95
+ if field is not None :
96
+ args ["use_all_available_space" ] = field
97
+
94
98
return SchemaPartition (** args )
95
99
96
100
@@ -1417,6 +1421,9 @@ def marshal_SchemaPartition(
1417
1421
if request .size is not None :
1418
1422
output ["size" ] = request .size
1419
1423
1424
+ if request .use_all_available_space is not None :
1425
+ output ["use_all_available_space" ] = request .use_all_available_space
1426
+
1420
1427
return output
1421
1428
1422
1429
Original file line number Diff line number Diff line change @@ -225,6 +225,8 @@ class SchemaPartition:
225
225
226
226
size : int
227
227
228
+ use_all_available_space : bool
229
+
228
230
229
231
@dataclass
230
232
class SchemaPool :
Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ def unmarshal_SchemaPartition(data: Any) -> SchemaPartition:
91
91
if field is not None :
92
92
args ["size" ] = field
93
93
94
+ field = data .get ("use_all_available_space" , None )
95
+ if field is not None :
96
+ args ["use_all_available_space" ] = field
97
+
94
98
return SchemaPartition (** args )
95
99
96
100
@@ -1417,6 +1421,9 @@ def marshal_SchemaPartition(
1417
1421
if request .size is not None :
1418
1422
output ["size" ] = request .size
1419
1423
1424
+ if request .use_all_available_space is not None :
1425
+ output ["use_all_available_space" ] = request .use_all_available_space
1426
+
1420
1427
return output
1421
1428
1422
1429
Original file line number Diff line number Diff line change @@ -225,6 +225,8 @@ class SchemaPartition:
225
225
226
226
size : int
227
227
228
+ use_all_available_space : bool
229
+
228
230
229
231
@dataclass
230
232
class SchemaPool :
You can’t perform that action at this time.
0 commit comments