Source code for server.types

from typing import TYPE_CHECKING
if TYPE_CHECKING:
    from collections.abc import Mapping, Sequence

[docs] JSON = ( dict[str, 'JSON'] | list['JSON'] | str | int | float | bool | None )
JSONObject = dict[str, JSON] JSONArray = list[JSON] # read only variant of JSON type that is covariant JSON_ro = ( Mapping[str, 'JSON_ro'] | Sequence['JSON_ro'] | str | int | float | bool | None ) JSONObject_ro = Mapping[str, JSON_ro] JSONArray_ro = Sequence[JSON_ro]