Have to define JSON
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
This commit is contained in:
parent
2d501cb32d
commit
b05a3abe8a
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ from pydantic import BaseModel, Field, ValidationError
|
||||||
FIFO = "/tmp/college-bot-ipc"
|
FIFO = "/tmp/college-bot-ipc"
|
||||||
JSON: typing.Union[
|
JSON: typing.Union[
|
||||||
str, int, float, bool, None, typing.Dict[str, "JSON"], typing.List["JSON"]
|
str, int, float, bool, None, typing.Dict[str, "JSON"], typing.List["JSON"]
|
||||||
|
] = typing.Union[
|
||||||
|
str, int, float, bool, None, typing.Dict[str, "JSON"], typing.List["JSON"]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue