fix: pass paging_metadata kwarg correctly in get_aas_submodel_refs and get_concept_description_all#540
Merged
s-heppner merged 6 commits intoMay 13, 2026
Conversation
…d get_concept_description_all Closes #539 Both handlers called response_t(..., cursor=cursor) but APIResponse.__init__ 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.
Member
|
Can you fix the static analysis check please? |
s-heppner
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes 5 handler methods across 3 files that called
response_t(..., cursor=cursor), butAPIResponse.__init__takespaging_metadata: Optional[PagingMetadata], notcursor. All affected endpoints returned 502 Bad Gateway due to the resultingTypeError.Affected handlers
repository.pyget_aas_submodel_refsrepository.pyget_concept_description_alldiscovery.pyget_all_aas_ids_by_asset_linkdiscovery.pysearch_all_aas_ids_by_asset_linkregistry.pyget_all_submodel_descriptors_through_superpathCloses #539