Skip to content

honeyhive._generated.models.GetMetricsResponse

GetMetricsResponse

Bases: BaseModel

GetMetricsResponse model Response for GET /metrics

Source code in src/honeyhive/_generated/models/GetMetricsResponse.py
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class GetMetricsResponse(BaseModel):
    """
    GetMetricsResponse model
        Response for GET /metrics
    """

    model_config = {
        "populate_by_name": True,
        "validate_assignment": True,
        "extra": "allow",
        "protected_namespaces": (),
    }

    metrics: List[MetricItem] = Field(validation_alias="metrics")

metrics class-attribute instance-attribute

metrics: List[MetricItem] = Field(
    validation_alias="metrics"
)