def assemble_cloud_function_id()

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


def assemble_cloud_function_id(name, exec_config):
    """
    Function to assemble cloud function ID
    :param name: name of the Cloud function
    :return: if of the cloud function
    ej: "https://us-central1-dp-111-orc.cloudfunctions.net/async-function"
    """
    project_id = exec_config.get("pProjectID")
    region = exec_config.get("pRegion")
    return f"https://{region}-{project_id}.cloudfunctions.net/{name}"