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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quart_schema_typed-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 d0e6379e9746b4649ee7f8c3ddb5dac7194c83f0f8e7a7f21ead3c70fc6fb6a4
MD5 e57d0cba391e372c4e743651aa641c99
BLAKE2b-256 9a781d7efe67dfc1cb6886a5194ac64a12b8633e6d30f7c78793dbcfa9b966ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quart_schema_typed-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6da5138b3cb4dfd1495505ca0a9cee0d634cb989f6153c13a133c7222e3a62
MD5 3ef60029d77b542aece617924eb374d4
BLAKE2b-256 57337bdb78f23af2a5184a67b05de942d36d17fd03f2fae29a5d5563291c458c

See more details on using hashes here.

Provenance

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