forked from p15670423/monkey
Common: Ignore mypy cyclical definition warning for JSONSerializable
This commit is contained in:
parent
d3a4f255f0
commit
69e11d6b50
|
@ -3,8 +3,14 @@ from typing import Dict, List, Union
|
|||
|
||||
from common.events import AbstractAgentEvent
|
||||
|
||||
JSONSerializable = Union[
|
||||
Dict[str, "JSONSerializable"], List["JSONSerializable"], int, str, float, bool, None
|
||||
JSONSerializable = Union[ # type: ignore[misc]
|
||||
Dict[str, "JSONSerializable"], # type: ignore[misc]
|
||||
List["JSONSerializable"], # type: ignore[misc]
|
||||
int,
|
||||
str,
|
||||
float,
|
||||
bool,
|
||||
None,
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue