@format_response
@handle_exceptions
async def get_tasks(self, request):
    '\n        ---\n        description: get all tasks associated with the specified step.\n        tags:\n        - Tasks\n        parameters:\n        - name: "flow_id"\n          in: "path"\n          description: "flow_id"\n          required: true\n          type: "string"\n        - name: "run_number"\n          in: "path"\n          description: "run_number"\n          required: true\n          type: "integer"\n        - name: "step_name"\n          in: "path"\n          description: "step_name"\n          required: true\n          type: "string"\n        produces:\n        - text/plain\n        responses:\n            "200":\n                description: successful operation. Return tasks\n            "405":\n                description: invalid HTTP Method\n        '
    flow_name = request.match_info.get('flow_id')
    run_number = request.match_info.get('run_number')
    step_name = request.match_info.get('step_name')
    return (await self._async_table.get_tasks(flow_name, run_number, step_name))
---
description: get all tasks associated with the specified step.
tags:
- Tasks
parameters:
- name: "flow_id"
  in: "path"
  description: "flow_id"
  required: true
  type: "string"
- name: "run_number"
  in: "path"
  description: "run_number"
  required: true
  type: "integer"
- name: "step_name"
  in: "path"
  description: "step_name"
  required: true
  type: "string"
produces:
- text/plain
responses:
    "200":
        description: successful operation. Return tasks
    "405":
        description: invalid HTTP Method
@format_response
@handle_exceptions
async def get_tasks(self, request):
    '\n        ---\n        description: get all tasks associated with the specified step.\n        tags:\n        - Tasks\n        parameters:\n        - name: "flow_id"\n          in: "path"\n          description: "flow_id"\n          required: true\n          type: "string"\n        - name: "run_number"\n          in: "path"\n          description: "run_number"\n          required: true\n          type: "integer"\n        - name: "step_name"\n          in: "path"\n          description: "step_name"\n          required: true\n          type: "string"\n        produces:\n        - text/plain\n        responses:\n            "200":\n                description: successful operation. Return tasks\n            "405":\n                description: invalid HTTP Method\n        '
    flow_name = request.match_info.get('flow_id')
    run_number = request.match_info.get('run_number')
    step_name = request.match_info.get('step_name')
    return (await self._async_table.get_tasks(flow_name, run_number, step_name))