code: def render_fairness_indicators_html(
      ui_payload,
      trusted_html_for_vulcanized_tfma_js: str,
      event_handlers: Optional[PythonEventHandlersMap] = None,
  ) -> None:
      """Renders an HTML stub for the Fairness Indicators UI and display it.
  
      Args:
        ui_payload: A Python dictionary of data provided as attributes to the
          <fairness-nb-container /> JS web component.
        trusted_html_for_vulcanized_tfma_js: A trusted string of HTML which contains
          a script tag inlining the vulcanized_tfma.js dependency, or a reference to
          that script.  Callers are responsible for ensuring this HTML is trusted.
        event_handlers: Dict of event keys and handler functions, for responding in
          Python to events fired in the JS web component.  Used for WIT integration
          in notebooks (see `wit.create_selection_callback`).
      """
      template = """
      {trusted_html_for_vulcanized_tfma_js}
      <fairness-nb-container id="component"></fairness-nb-container>
      <script>
        const element = document.getElementById('component');
  
        {trusted_event_handler_js}
  
        const json = JSON.parse(atob('{base64_encoded_json_payload}'));
        element.slicingMetrics = json.slicingMetrics;
        element.slicingMetricsCompare = json.slicingMetricsCompare;
        element.evalName = json.evalName;
        element.evalNameCompare = json.evalNameCompare;
      </script>
      """
      html = template.format(
          base64_encoded_json_payload=to_base64_encoded_json(
              ui_payload
          ),
          trusted_html_for_vulcanized_tfma_js=trusted_html_for_vulcanized_tfma_js,
          trusted_event_handler_js=make_trusted_event_handler_js(
              event_handlers
          ),
      )
      display.display(display.HTML(html))
  
imports: from typing import Optional, Dict, Any
  from IPython import display
  from tensorflow_model_analysis.notebook.colab.util import make_trusted_event_handler_js
  from tensorflow_model_analysis.notebook.colab.util import PythonEventHandlersMap
  from tensorflow_model_analysis.notebook.colab.util import to_base64_encoded_json
label_desc: Use image node_id 1 for calling a global function with example usage: render_fairness_indicators_html(ui_payload, trusted_html_for_vulcanized_tfma_js, event_handlers) without return types