Documentación

Tipos comunes

Tipos comunes del SDK de la API de TypeSafe.

typesafe_sdk.JSONValue

module-attribute

JSONValue = TypeAliasType(
    "JSONValue",
    "str | int | float | bool | Sequence[JSONValue | None] | Mapping[str, JSONValue | None]",
)

Un valor similar a JSON. Puede estar anidado y contener None.

typesafe_sdk.JSONContent

module-attribute

JSONContent = TypeAliasType(
    "JSONContent",
    "str | Mapping[str, JSONValue | None] | Sequence[JSONValue | None]",
)

O bien una cadena simple, o un mapeo o una secuencia de entradas de JSONValue.