Have to define JSON
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s

This commit is contained in:
Nexus 2024-06-05 01:19:19 +01:00
parent 2d501cb32d
commit b05a3abe8a
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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"]
] ]