Work on event device model and related.
This commit is contained in:
@@ -101,8 +101,8 @@ class Event_Device_Base(BaseModel):
|
|||||||
# This is only for convenience. Probably going to keep unless it causes a problem.
|
# This is only for convenience. Probably going to keep unless it causes a problem.
|
||||||
|
|
||||||
# Including JSON data
|
# Including JSON data
|
||||||
# other_json: Optional[Json]
|
other_json: Optional[Union[str,Json]]
|
||||||
# meta_json: Optional[Json]
|
meta_json: Optional[Union[str,Json]]
|
||||||
|
|
||||||
# Including other related objects
|
# Including other related objects
|
||||||
event_cfg: Optional[Event_Cfg_Base]
|
event_cfg: Optional[Event_Cfg_Base]
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
from __future__ import annotations
|
|
||||||
import datetime, hashlib, logging, os, pytz, redis, secrets
|
import datetime, hashlib, logging, os, pytz, redis, secrets
|
||||||
|
|
||||||
from typing import Dict, List, Optional, Set, Union
|
from typing import Dict, List, Optional, Set, Union
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
from __future__ import annotations
|
|
||||||
import datetime, hashlib, logging, os, pytz, redis, secrets
|
import datetime, hashlib, logging, os, pytz, redis, secrets
|
||||||
|
|
||||||
from typing import Dict, List, Optional, Set, Union
|
from typing import Dict, List, Optional, Set, Union
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
from __future__ import annotations
|
|
||||||
import datetime, hashlib, logging, os, pytz, redis, secrets
|
import datetime, hashlib, logging, os, pytz, redis, secrets
|
||||||
|
|
||||||
from typing import Dict, List, Optional, Set, Union
|
from typing import Dict, List, Optional, Set, Union
|
||||||
|
|||||||
Reference in New Issue
Block a user