Skip to main content

Automatic quart-schema based on typing

Project description

Quart Schema Typed

Example

app = Quart(__name__)

routes = RouteMgr(app)


@routes.get("/person", tags="HR")
async def list_persons(
    query_args: PersonQuery,
) -> tuple[list[Person], Literal[HTTPStatus.OK]] | tuple[APIError, Literal[HTTPStatus.BAD_REQUEST]]:
    ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quart_schema_typed-0.1.4.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quart_schema_typed-0.1.4-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file quart_schema_typed-0.1.4.tar.gz.

File metadata

  • Download URL: quart_schema_typed-0.1.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quart_schema_typed-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c8116491adf14717abcc508f075d6b222d838041ce479102bec0692848bb7863
MD5 13dfeda9c82131f96748a798cf6c21af
BLAKE2b-256 f6196ada4357ebb307d02cd34df8aff6d0410bd5f0c0cef89c44b4294de65fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for quart_schema_typed-0.1.4.tar.gz:

Publisher: release.yml on KalleDK/py-quart-schema-typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quart_schema_typed-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for quart_schema_typed-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd9b8403822c69d5d5c938c6c1c67370f50d990f918b520855ef8580635c253
MD5 1236aa94d66284a45f0dead88618e10e
BLAKE2b-256 361f7a874dc695c5fa4df34a68555742b90b36f4d0ba01565873cc650180eab4

See more details on using hashes here.

Provenance

The following attestation bundles were made for quart_schema_typed-0.1.4-py3-none-any.whl:

Publisher: release.yml on KalleDK/py-quart-schema-typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page