class_docstr: Helper class for constructing Dataproc Workflow Template Link.
class_docstr_tok: ["Helper","class","for","constructing","Dataproc","Workflow","Template","Link","."]
code: def persist(
      context: Context,
      operator: BaseOperator,
      workflow_template_id: str,
      project_id: str,
      region: str,
  ):
      operator.xcom_push(
          context,
          key=DataprocWorkflowTemplateLink.key,
          value={
              "workflow_template_id": workflow_template_id,
              "region": region,
              "project_id": project_id,
          },
      )
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING, Any
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.models import BaseOperatorLink, XCom
  from airflow.providers.google.cloud.links.base import BASE_LINK, BaseGoogleLink
label_desc: Use image node_id 1 for calling the DataprocWorkflowTemplateLink obj's underlying member method code with example usage: obj.persist(context, operator, workflow_template_id, project_id, region) without return types