Get all parameters of a task as one string

    Returns:
        str: task parameter string

def get_task_param_string(task):
    """Get all parameters of a task as one string

    Returns:
        str: task parameter string
    """
    # get dict str -> str from luigi
    param_dict = task.to_str_params()

    # sort keys, serialize
    items = []
    for key in sorted(param_dict.keys()):
        items.append("'{:s}': '{:s}'".format(key, param_dict[key]))

    return "{" + ", ".join(items) + "}"