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.2.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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quart_schema_typed-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0b0d7ac22d8fc3913366b10ba82cf8067d00210f4b69e3458d0a26c23c0a7512
MD5 38bc093a4db83dc61743978b990d6e62
BLAKE2b-256 5b3f038c1130e11c06fcb81254f5d16708111f25ec9217ad03c8890015e8f4c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for quart_schema_typed-0.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for quart_schema_typed-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 086fe2fef99e5569ebdbcd9256503b4fa75b662bec5d8a08a8d65c46dc8d67da
MD5 eeb1da87baf25a5f901734dee5c2ec28
BLAKE2b-256 d3505804f5c148c317aa9433d83cac1ff7ca78bb90ef53a656ce91dbfcb0a1e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for quart_schema_typed-0.1.2-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