Mostly adding event device model, methods, and routes. Also general clean up of code.

This commit is contained in:
Scott Idem
2022-03-09 13:05:19 -05:00
parent 0947032a94
commit f073dd337f
10 changed files with 368 additions and 14 deletions

View File

@@ -4,7 +4,7 @@ import datetime
from typing import Dict, List, Optional, Set, Union
from pydantic import BaseModel, EmailStr, Field, PrivateAttr, ValidationError, validator
from app.db_sql import redis_lookup_id_random, sql_insert, sql_select, sql_update
from app.db_sql import redis_lookup_id_random, sql_enable_part, sql_insert, sql_limit_offset_part, sql_select, sql_update
from app.lib_general import log, logging, logger_reset
# from app.methods.event_methods import load_event_obj