improve typing
This commit is contained in:
parent
cb7c66a8d1
commit
60d38e9b49
4 changed files with 12 additions and 9 deletions
|
|
@ -19,7 +19,7 @@ from typing import (
|
|||
|
||||
from .types import ULID
|
||||
|
||||
JSON = Union[int, float, str, None, list["JSON"], dict[str, "JSON"]]
|
||||
JSON = int | float | str | None | list["JSON"] | dict[str, "JSON"]
|
||||
JSONObject = dict[str, JSON]
|
||||
|
||||
T = TypeVar("T")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue