gem5.resources.client_api.azure_functions_client module

class gem5.resources.client_api.azure_functions_client.AzureFunctionsAPIClient(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.

exception gem5.resources.client_api.azure_functions_client.AzureFunctionsAPIClientHttpJsonRequestError(client: AzureFunctionsAPIClient, data: Dict[str, Any], purpose_of_request: str | None, response: str | None = None)

Bases: Exception