Returns
Returns a list of Metric objects linked to the specification.Example
Parameters
string
required
The ID of the specification to get linked metrics for.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get all metrics linked to a specification.
metrics = galtea.specifications.get_metrics(
specification_id=specification.id,
)
| Error | Cause |
|---|---|
EntityNotFoundException | The platform holds nothing under the id or name you passed. Import it with from galtea import EntityNotFoundException. Read the status from e.status_code. When the API answered 404 the SDK raises the subclass EntityNotFoundHTTPError, which also derives from requests.HTTPError and carries e.response, so code catching requests.HTTPError keeps working. |