Repository navigation
Commit ecd157d
committed
Treat missing as optional in UpdateNamespacePropertiesResponse
The REST spec marks the missing field of UpdateNamespacePropertiesResponse
as optional and nullable, and servers such as Lakekeeper omit it when no
requested removal was missing. pyiceberg required it, so
update_namespace_properties raised a ValidationError after the server had
applied the change. Default it to an empty list and map null to [].
Closes #40661 parent 068aae5 commit ecd157d
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
451 | 456 | | |
452 | 457 | | |
453 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1345 | 1364 | | |
1346 | 1365 | | |
1347 | 1366 | | |
| |||
0 commit comments