async def METHOD_NAME(self, params=None, headers=None):
    """
    Returns a list of tasks.
    .. warning::
        This API is **experimental** so may include breaking changes
        or be removed in a future version
    :arg actions: A comma-separated list of actions that should be
        returned. Leave empty to return all.
    :arg detailed: Return detailed task information (default: false)
    :arg group_by: Group tasks by nodes or parent/child
        relationships  Valid choices: nodes, parents, none  Default: nodes
    :arg nodes: A comma-separated list of node IDs or names to limit
        the returned information; use `_local` to return information from the
        node you're connecting to, leave empty to get information from all nodes
    :arg parent_task_id: Return tasks with specified parent task id
        (node_id:task_number). Set to -1 to return all.
    :arg timeout: Explicit operation timeout
    :arg wait_for_completion: Wait for the matching tasks to
        complete (default: false)
    """
    return await self.transport.perform_request(
        "GET", "/_tasks", params=params, headers=headers
    )