cryptic-game/python-daemon

View on GitHub
daemon/schemas/ok.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
from pydantic import BaseModel

from ..utils import example


class OKResponse(BaseModel):
    ok: bool

    Config = example(ok=True)


ok_response = {"ok": True}