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

@@ -5,7 +5,7 @@ from fastapi import File, UploadFile
from typing import Dict, List, Optional, Set, Union
from pydantic import BaseModel, EmailStr, Field, PrivateAttr, ValidationError, validator
from app.db_sql import get_id_random, redis_lookup_id_random, sql_insert, sql_select, sql_update
from app.db_sql import get_id_random, redis_lookup_id_random, sql_enable_part, sql_insert, sql_limit_offset_part, sql_select, sql_update
from app.lib_general import log, logging
from app.methods.hosted_file_methods import load_hosted_file_obj