events updated
This commit is contained in:
@@ -21,19 +21,29 @@ def build_area_list(request: Request, list_options: ListOptions):
|
||||
return token_dict.available_event(list_options=list_options, token_dict=token_dict)
|
||||
|
||||
|
||||
@build_area_route.post(path="/create", summary="Create BuildParts with given auth levels")
|
||||
@build_area_route.post(
|
||||
path="/create", summary="Create BuildParts with given auth levels"
|
||||
)
|
||||
def build_area_create(request: Request, data: InsertBuildArea):
|
||||
token_dict = parse_token_object_to_dict(request=request)
|
||||
return token_dict.available_event(data=data, token_dict=token_dict)
|
||||
|
||||
|
||||
@build_area_route.post(path="/update/{build_uu_id}", summary="Update BuildParts with given auth levels")
|
||||
@build_area_route.post(
|
||||
path="/update/{build_uu_id}", summary="Update BuildParts with given auth levels"
|
||||
)
|
||||
def build_area_update(request: Request, build_uu_id: str, data: UpdateBuildArea):
|
||||
token_dict = parse_token_object_to_dict(request=request)
|
||||
return token_dict.available_event(data=data, build_uu_id=build_uu_id, token_dict=token_dict)
|
||||
return token_dict.available_event(
|
||||
data=data, build_uu_id=build_uu_id, token_dict=token_dict
|
||||
)
|
||||
|
||||
|
||||
@build_area_route.patch(path="/patch/{build_uu_id}", summary="Update Active/Delete/Confirm")
|
||||
@build_area_route.patch(
|
||||
path="/patch/{build_uu_id}", summary="Update Active/Delete/Confirm"
|
||||
)
|
||||
def build_area_patch(request: Request, build_uu_id: str, data: PatchRecord):
|
||||
token_dict = parse_token_object_to_dict(request=request)
|
||||
return token_dict.available_event(data=data, build_uu_id=build_uu_id, token_dict=token_dict)
|
||||
return token_dict.available_event(
|
||||
data=data, build_uu_id=build_uu_id, token_dict=token_dict
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user