Commit 2fd61ba
committed
fix(adms): narrow dict type in get_all to satisfy ty; bump to 0.25.1
1. _document_api.py: type rel_params as dict[str, str | int] (not bare
dict) and wrap the get() result in str() before calling .split() — ty
couldn't prove the value was str when the dict held int values.
Applies to both sync and async get_all.
2. tests/dms/integration: remove two now-unused # ty: ignore directives
(conftest.py:17, test_dms_bdd.py:131) that ty 0.25 no longer needs.
These were flagged as warnings-turned-errors after the upstream merge
bumped ty.
3. pyproject.toml / uv.lock: bump version 0.25.0 → 0.25.1 to satisfy the
CI version-bump gate (src/ files changed, version must increase).1 parent 37b1d84 commit 2fd61ba
5 files changed
Lines changed: 8 additions & 8 deletions
File tree
- src/sap_cloud_sdk/adms
- tests/dms/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments