2023-11-28 23:50:50 -08:00
|
|
|
from typing import Optional
|
2022-04-27 12:14:58 -07:00
|
|
|
|
2024-01-06 18:32:21 -08:00
|
|
|
from pydantic import BaseModel, ConfigDict
|
2022-04-27 12:14:58 -07:00
|
|
|
|
|
|
|
from ..models.jetstream_config import JetstreamConfig
|
|
|
|
from ..models.jetstream_stats import JetstreamStats
|
2023-05-04 00:58:06 -07:00
|
|
|
from ..models.meta_cluster_info import MetaClusterInfo
|
2022-04-27 12:14:58 -07:00
|
|
|
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
class Jetstream(BaseModel):
|
|
|
|
"""Jetstream information."""
|
2022-04-27 12:14:58 -07:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
config: Optional[JetstreamConfig] = None
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
meta: Optional[MetaClusterInfo] = None
|
2023-11-27 16:01:20 -08:00
|
|
|
|
2023-11-28 23:50:50 -08:00
|
|
|
stats: Optional[JetstreamStats] = None
|
2024-01-06 18:32:21 -08:00
|
|
|
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|