Skip to content

typing

Custom type annotations.

JSON module-attribute ¤

JSON = MutableMapping[str, bool | int | str | list[str]]

A JSON-serialisable object.

PARAMS module-attribute ¤

PARAMS = MutableMapping[str, int | str]

URL query parameters.