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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quart_schema_typed-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f28a884c2c03095e555a7276f0d4888a24f5e00214759dea1ef5bdf990788640
MD5 c9139125fb12d3bcef4af006ffbe6237
BLAKE2b-256 8a30b7f80dc4347b9f84220a46f3c5642a15ac318a87d3d12db970ab7fe7e013

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for quart_schema_typed-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 06d3ce3b6a65c20eb8d3a6bd21e54594362bcb854b2b6ba795262477053062a4
MD5 9b117d30f9d9a2daae6c228453a432d4
BLAKE2b-256 5df04c45f46882c2263ebe98e2bc288c3cb5bb56f303a1a7bcb7706adc21972a

See more details on using hashes here.

Provenance

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