michalslowikowski00 commented on a change in pull request #10343: URL: https://github.com/apache/airflow/pull/10343#discussion_r471302080
########## File path: airflow/providers/google/cloud/operators/dataproc.py ########## @@ -39,13 +39,41 @@ from google.protobuf.json_format import MessageToDict from airflow.exceptions import AirflowException -from airflow.models import BaseOperator +from airflow.models import BaseOperator, BaseOperatorLink +from airflow.models.taskinstance import TaskInstance from airflow.providers.google.cloud.hooks.dataproc import DataprocHook, DataProcJobBuilder from airflow.providers.google.cloud.hooks.gcs import GCSHook from airflow.utils import timezone from airflow.utils.decorators import apply_defaults from airflow.version import version as airflow_version +# pylint: disable=line-too-long +DATAPROC_JOB_LOG_LINK = "https://console.cloud.google.com/dataproc/jobs/{job_id}?region={region}&project={project_id}" # noqa: E501 Review comment: Maybe this way? ```suggestion DATAPROC_JOB_LOG_LINK = \ "https://console.cloud.google.com/dataproc/jobs/{job_id}?region={region}&project={project_id}" ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
