Code clean up. Work on event session, presentation, and presenter.

This commit is contained in:
Scott Idem
2021-09-28 18:32:19 -04:00
parent e231090168
commit b2c70c0c87
3 changed files with 32 additions and 2 deletions

View File

@@ -131,6 +131,10 @@ async def get_event_presentation_obj(
# inc_event_session: bool = False, # NOTE: Placehold for future?
inc_person: bool = False,
inc_user: bool = False,
review: str = 'ready', # ready, not_ready, all
approved: str = 'approved', # approved, not_approved, all
hidden: str = 'not_hidden', # hidden, not_hidden, all
inc_file_count: bool = False, # NOTE: file counts are from separate views
x_account_id: str = Header(...),
by_alias: Optional[bool] = True,
exclude_unset: Optional[bool] = True,
@@ -146,6 +150,10 @@ async def get_event_presentation_obj(
if event_presentation_obj := load_event_presentation_obj(
event_presentation_id = event_presentation_id,
enabled = enabled,
# review = review,
# approved = approved,
hidden = hidden,
inc_file_count = inc_file_count,
limit = limit,
inc_address = inc_address,
inc_contact = inc_contact,