Lots of changes to get to FastAPI 95.1
This commit is contained in:
@@ -84,7 +84,7 @@ async def post_membership_person_obj(
|
||||
@router.patch('/membership/person/{membership_person_id}', response_model=Resp_Body_Base)
|
||||
async def patch_membership_person_obj(
|
||||
membership_person_obj: Membership_Person_Base,
|
||||
membership_person_id: Optional[str] = Query(..., min_length=11, max_length=22),
|
||||
membership_person_id: Optional[str] = Path(min_length=11, max_length=22),
|
||||
|
||||
create_sub_obj: bool = False,
|
||||
fail_any: bool = True, # Fail if any thing goes wrong for sub objects
|
||||
@@ -265,7 +265,7 @@ async def get_person_obj_membership_person(
|
||||
# Updated 2022-01-11
|
||||
@router.get('/account/{account_id}/membership/person/list', response_model=Resp_Body_Base)
|
||||
async def get_account_obj_membership_person_list(
|
||||
account_id: str = Query(..., min_length=1, max_length=22),
|
||||
account_id: str = Path(min_length=11, max_length=22),
|
||||
# inc_account_cfg: bool = False,
|
||||
# inc_address: bool = False, # Under contact
|
||||
# inc_contact: bool = False,
|
||||
|
||||
Reference in New Issue
Block a user