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

@@ -396,6 +396,7 @@ async def get_person_obj(
@router.get('/account/{account_id}/person/list', response_model=Resp_Body_Base)
async def get_account_obj_person_list(
account_id: str = Query(..., min_length=11, max_length=22),
inc_address: bool = False,
inc_contact: bool = False,
# inc_membership_group_list: bool = False, # The list of all membership groups a person is a part of
@@ -404,6 +405,7 @@ async def get_account_obj_person_list(
# inc_order: bool = False,
# inc_organization: bool = False,
inc_user: bool = False,
commons: Common_Route_Params = Depends(common_route_params),
):
log.setLevel(logging.INFO) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL