Commit 6ea0ef6
Fix instances.create to send empty arrays instead of null for volume params (#68)
* Fix instances.create to send empty arrays instead of null for volumes parameters
When volumes or existing_volumes parameters are None, send empty arrays []
to the REST API instead of null values. This ensures API compatibility and
proper validation.
Fixes #56
* Update verda/instances/_instances.py
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Alexey Shamrin <shamrin@gmail.com>1 parent 823aa50 commit 6ea0ef6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments