Skip to content

types

Attributes:

  • JsonType

    A type alias for JSON data.

  • TagMap

    A simple mapping from tag names to values.

JsonType module-attribute

JsonType = (
    int
    | str
    | float
    | bool
    | dict[str, "JsonType"]
    | list["JsonType"]
    | tuple["JsonType", ...]
    | None
)

A type alias for JSON data.

TagMap module-attribute

TagMap = Mapping[str, str]

A simple mapping from tag names to values.