Files

21 lines
331 B
Python
Raw Permalink Normal View History

2026-09-04 17:34:03 -05:00
"""Health/readiness response schemas."""
from __future__ import annotations
from pydantic import BaseModel
class HealthOut(BaseModel):
status: str = "ok"
class DependencyStatus(BaseModel):
name: str
ok: bool
required: bool
class ReadyOut(BaseModel):
status: str
dependencies: list[DependencyStatus]