Work on event device model and related.

This commit is contained in:
Scott Idem
2022-05-25 14:02:54 -04:00
parent fdcfe75325
commit dc585fb9bd
4 changed files with 2 additions and 5 deletions

View File

@@ -101,8 +101,8 @@ class Event_Device_Base(BaseModel):
# This is only for convenience. Probably going to keep unless it causes a problem.
# Including JSON data
# other_json: Optional[Json]
# meta_json: Optional[Json]
other_json: Optional[Union[str,Json]]
meta_json: Optional[Union[str,Json]]
# Including other related objects
event_cfg: Optional[Event_Cfg_Base]

View File

@@ -1,4 +1,3 @@
from __future__ import annotations
import datetime, hashlib, logging, os, pytz, redis, secrets
from typing import Dict, List, Optional, Set, Union

View File

@@ -1,4 +1,3 @@
from __future__ import annotations
import datetime, hashlib, logging, os, pytz, redis, secrets
from typing import Dict, List, Optional, Set, Union

View File

@@ -1,4 +1,3 @@
from __future__ import annotations
import datetime, hashlib, logging, os, pytz, redis, secrets
from typing import Dict, List, Optional, Set, Union