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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quart_schema_typed-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6a38de7719df448a82bf4e13f9b1ec4b3e578c77d6e66482ce03337708b7a62b
MD5 ed0a61b766ba9ec8a8155997576f6eb1
BLAKE2b-256 dbf608717a42ac652f6269102c0077f69615913e46cd9690477e4791fdaf8c1a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quart_schema_typed-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef0f9cccd1873fa2b25b068cb9f03c384a3de868a11e8d856e3d4a595a60f18
MD5 c389eef527c2e66edb04b9d0ca91f868
BLAKE2b-256 41c7125ea2064b2429afb6b4996ee0773db6a728875bbbde189809a5386ecd8c

See more details on using hashes here.

Provenance

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