Source code for imagine.types.healthcheck
from pydantic import BaseModel
[docs]
class PingResponse(BaseModel):
#: Ping Message
message: str
#: Status
status: str
[docs]
class HealthResponse(BaseModel):
#: Status of Postgres
postgres: str
#: Status of Redis
redis: str
#: Status of Models
models: str