Work on event and lookup related end points, methods, and models

This commit is contained in:
Scott Idem
2021-11-10 17:57:51 -05:00
parent 413b44b4d2
commit 0b3b066b9b
9 changed files with 44 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ from app.lib_general import log, logging
from app.models.common_field_schema import base_fields, default_num_bytes
# from app.models.event_models import Event_Base
# from app.models.event_abstract_models import Event_Abstract_Base
from app.models.event_cfg_models import Event_Cfg_Base
from app.models.event_person_models import Event_Person_Base
# from app.models.event_presentation_models import Event_Presentation_Base
# from app.models.event_session_models import Event_Session_Base
@@ -38,7 +39,6 @@ class Event_Presenter_Base(BaseModel):
alias = 'event_presenter_code'
)
account_id_random: Optional[str]
account_id: Optional[int]
@@ -143,6 +143,7 @@ class Event_Presenter_Base(BaseModel):
# event_abstract: Optional[Event_Abstract_Base]
event_abstract: Optional[dict]
event_abstract_list: Optional[list] # Optional[Event_Abstract_Base] Is more than one abstract allowed per presenter?
event_cfg: Optional[Event_Cfg_Base]
# event_device_list: Optional[list] # Optional[Event_Device_Base]
event_file_list: Optional[list] # Optional[Event_File_Base]
# event_location: Optional[Event_Location_Base]