Commit bda9a2b
Fix update_dataset/update_document: backend uses POST not PUT
The NDI Cloud backend (ndi-cloud-node) registers update routes as POST,
not PUT. Our Python client was sending PUT requests which resulted in 404
errors because Express couldn't match the route.
- datasets.py: update_dataset() now uses client.post()
- documents.py: update_document() now uses client.post()
- Removed unnecessary retry_on_404 from update tests (root cause was
wrong HTTP method, not eventual consistency)
Local results: 55 passed, 3 skipped, 0 failed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fa3c3f3 commit bda9a2b
3 files changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | 386 | | |
388 | 387 | | |
389 | | - | |
390 | 388 | | |
391 | 389 | | |
392 | 390 | | |
| |||
494 | 492 | | |
495 | 493 | | |
496 | 494 | | |
497 | | - | |
498 | 495 | | |
499 | 496 | | |
500 | | - | |
501 | 497 | | |
502 | 498 | | |
503 | 499 | | |
| |||
0 commit comments