Commit 19cdeee
fix: correct Requirements params and ensure multipart for create/update
- Requirements.get() now only sends non-None params instead of always
sending all three (which resulted in ?country_iso=None queries)
- _build_compliance_multipart returns empty dict instead of None when
no documents, ensuring create/update always use multipart/form-data
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4a507c8 commit 19cdeee
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | | - | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
117 | | - | |
118 | | - | |
119 | 124 | | |
0 commit comments