gem5.resources.client_api.atlasclient.html
gem5.resources.client_api.atlasclient module¶
- class gem5.resources.client_api.atlasclient.AtlasClient(config: Dict[str, str])¶
Bases:
AbstractClient
- get_resources(client_queries: List[ClientQuery]) Dict[str, Any] ¶
- Parameters:
client_queries – A list of client queries containing the information to query the resources. Each ClientQuery object can contain the following information: - resource_id: The ID of the Resource. - resource_version: The version of the Resource. - gem5_version: The version of gem5.
resource_version – The version of the Resource. Optional, if not set, all resource versions will be returned. Note: If
resource_id
is not set, this parameter will be ignored.gem5_version – The version of gem5. Optional, if not set, all versions will be returned.
- Returns:
A list of all the Resources with the given ID.
- get_token()¶
- exception gem5.resources.client_api.atlasclient.AtlasClientHttpJsonRequestError(client: AtlasClient, data: Dict[str, Any], purpose_of_request: str | None)¶
Bases:
Exception