Commit 10778d0
fix: pass paging_metadata kwarg correctly in get_aas_submodel_refs and get_concept_description_all (#540)
Previously, some handlers called `response_t(..., cursor=cursor)` but `APIResponse`
accepts `paging_metadata`, `not cursor`.
`_get_slice()` already returns `Optional[PagingMetadata]` as its second value,
so the variable just needs to be passed under the correct keyword
argument name.
Fixes #539
---------
Co-authored-by: s-heppner <iat@s-heppner.com>1 parent 8a9b39a commit 10778d0
2 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
| 227 | + | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | | - | |
| 591 | + | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
951 | | - | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
952 | 953 | | |
953 | 954 | | |
954 | 955 | | |
| |||
0 commit comments