mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-25 01:02:15 +00:00
25 lines
389 B
Python
25 lines
389 B
Python
from dataclasses import dataclass
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class Readiness(BaseModel):
|
|
status: str = ""
|
|
db: str = ""
|
|
|
|
|
|
class ContainerState(BaseModel):
|
|
Running: bool
|
|
ExitCode: int
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class Observation:
|
|
exit_code: int | None
|
|
ready: bool
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class Migration:
|
|
name: str
|
|
script: str
|