docstr: Return operator extra links
docstr_tok: ["Return","operator","extra","links"]
code: def operator_extra_links(self):
      """
      Return operator extra links
      """
      if (
          isinstance(self.bash_command, str)
          or self.bash_command is None
      ):
          return (CustomOpLink(),)
      return (
          CustomBaseIndexOpLink(i)
          for i, _ in enumerate(self.bash_command)
      )
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING, Any, Sequence
  import attr
  from airflow.models.baseoperator import BaseOperator
  from airflow.models.baseoperatorlink import BaseOperatorLink
  from airflow.models.xcom import XCom
label_desc: Use image node_id 1 for calling the CustomOperator obj's underlying member method code with example usage: obj.operator_extra_links() and returns: unknown, CustomOpLink