class_docstr: Helper class for constructing AWS EMR Logs Link.
class_docstr_tok: ["Helper","class","for","constructing","AWS","EMR","Logs","Link","."]
code: def format_link(self, **kwargs) -> str:
      if not kwargs.get("log_uri"):
          return ""
      return super().format_link(**kwargs)
  
file_path: airflow/airflow/providers/amazon/aws/links/emr.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from airflow.exceptions import AirflowException
  from airflow.providers.amazon.aws.hooks.s3 import S3Hook
  from airflow.providers.amazon.aws.links.base_aws import BASE_AWS_CONSOLE_LINK, BaseAwsLink
  from airflow.utils.helpers import exactly_one
label_desc: Use image node_id 1 for calling the EmrLogsLink obj's underlying member method code with example usage: obj.format_link() and returns: super, str