schema#
Documentation for the schema module.
Base structs and constrained field types shared by API schemas.
- class app.lib.schema.BaseStruct[source]#
Bases:
StructBase msgspec Struct with unset-filtering dictionary export.
- class app.lib.schema.CamelizedBaseStruct[source]#
Bases:
BaseStructCamel-cased msgspec Struct for HTTP API payloads.
- class app.lib.schema.Message(message: str)[source]#
Bases:
CamelizedBaseStructSimple human-readable status message payload.