aas_client3_2.query_results
Provide the results of the queries which are not formalized by aas-core3.2.
A query in the AAS Query Language gives the full objects by default, or only their
identifiers if it states "$select": "id". aas-core3.2 de-serializes the pages
of the objects (such as aas_core3_2.types.GetSubmodelsResult), but not
the pages of the identifiers, since a page in the OpenAPI holds either an object or
a string as an item. Hence the client gives the pages of the identifiers as
IdsResult.
- class aas_client3_2.query_results.IdsResult(paging_metadata: PagingMetadata, result: List[str] | None = None)[source]
Represent a page of the identifiers given by a query with
"$select": "id".The class follows
aas_client3_2.pagination.Page, so that the pages can be followed withaas_client3_2.pagination.iterate().- __init__(paging_metadata: PagingMetadata, result: List[str] | None = None) None[source]
Initialize with the given values.
- paging_metadata: PagingMetadata
Cursor to the next page
- result: List[str] | None
Identifiers of the matching objects in the page