def assemble_workflows_id()

in workflows-generator/commons.py [0:0]


def assemble_workflows_id(name, exec_config):
    """
    Function to assemble cloud workflows id
    :param name: name of the Cloud Workflow
    :return: workflows id
    """
    project_id = exec_config.get("pProjectID")
    region = exec_config.get("pRegion")
    return f"projects/{project_id}/locations/{region}/workflows/{name}"