Commit 59a3eb2
committed
Refactor editMetadata API parameter handling
Updated NativeApi.edit_metadata to construct URL and parameters more cleanly for persistentId and non-persistentId cases. Also reformatted some assert statements for improved readability in both api.py and test_edit.py.1 parent 50a5e26 commit 59a3eb2
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
1539 | 1541 | | |
1540 | | - | |
1541 | | - | |
| 1542 | + | |
| 1543 | + | |
1542 | 1544 | | |
| 1545 | + | |
1543 | 1546 | | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | 1549 | | |
1547 | | - | |
| 1550 | + | |
1548 | 1551 | | |
1549 | 1552 | | |
1550 | 1553 | | |
| |||
0 commit comments