mirror of
https://github.com/simple-login/app.git
synced 2024-11-15 21:26:25 +08:00
22 lines
311 B
Python
22 lines
311 B
Python
|
from dataclasses import dataclass
|
||
|
from typing import List
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class UpcloudRecord:
|
||
|
db_role: str
|
||
|
label: str
|
||
|
time: str
|
||
|
value: float
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class UpcloudMetric:
|
||
|
metric_name: str
|
||
|
records: List[UpcloudRecord]
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
class UpcloudMetrics:
|
||
|
metrics: List[UpcloudMetric]
|