Spaces:
Sleeping
Sleeping
from pydantic import BaseModel | |
class ProductivityData(BaseModel): | |
unique_folded: int | |
total_completed_jobs: int | |
class Productivity(BaseModel): | |
all_time: ProductivityData | |
last_24h: ProductivityData | |
class ThroughputData(BaseModel): | |
validator_sent: float | |
miner_sent: float | |
class Throughput(BaseModel): | |
all_time: ThroughputData | |
last_24h: ThroughputData |