We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71604ff commit d11fc9aCopy full SHA for d11fc9a
gen3workflow/routes/ga4gh_tes.py
@@ -74,11 +74,13 @@ def get_non_allowed_images(images: set, username: str) -> set:
74
return non_allowed_images
75
76
77
+# TODO add test for endpoint with trailing slash
78
@router.post("/tasks", status_code=HTTP_200_OK)
79
async def create_task(request: Request, auth=Depends(Auth)) -> dict:
80
await auth.authorize("create", ["/services/workflow/gen3-workflow/tasks"])
81
82
body = await get_request_body(request)
83
+ logger.debug(f"Incoming task creation request body: {body}")
84
85
# add the `AUTHZ` tag to the task, so access can be checked by the other endpoints
86
token_claims = await auth.get_token_claims()
0 commit comments