A lot of work on event related modules

This commit is contained in:
Scott Idem
2021-06-04 16:01:23 -04:00
parent 735e50dc0f
commit 627bc8c4df
10 changed files with 554 additions and 200 deletions

View File

@@ -11,7 +11,7 @@ from .common_field_schema import base_fields, default_num_bytes
#from .event_models import Event_Base
from .event_location_models import Event_Location_Base
#from .event_person_models import Event_Person_Base
#from .event_person_models import Event_Person_Base # NOTE: Using thi will probably create an import loop
from .event_track_models import Event_Track_Base
from .person_models import Person_Base
@@ -89,15 +89,16 @@ class Event_Session_Base(BaseModel):
# Including other related objects
#event: Optional[Event_Base]
event_abstract_list: Optional[list] # Optional[Event_Abstract_Base]
event_badge_list: Optional[list] # Optional[Event_Abstract_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]
event_location: Optional[Union[Event_Location_Base, None]]
event_person_list: Optional[list]
event_presenter_cat: Optional[Union[str, None]]
event_presentation_list: Optional[list] # Optional[Event_Presentation_Base]
event_presenter_list: Optional[list] # Optional[Event_Presenter_Base]
event_track: Optional[Event_Track_Base]
#poc_event_person: Optional[Event_Person_Base]
poc_person: Optional[Person_Base]
#poc_event_person: Optional[Event_Person_Base] # NOTE: Using thi will probably create an import loop
_processed_at: datetime.datetime = PrivateAttr(default_factory=datetime.datetime.now)