code: def _tfx_src_dir() -> str:
      """Get tfx directory in the source tree.
  
        We should find tfx
        from tfx/tools/cli/handler/template_handler.py.
      Returns:
        Path to the directory containing tfx sources.
      """
      return os.path.dirname(  # tfx/
          os.path.dirname(  # tools/
              os.path.dirname(  # cli/
                  os.path.dirname(os.path.abspath(__file__))
              )
          )
      )
  
file_path: tfx/tfx/tools/cli/handler/template_handler.py
imports: import collections
  import os
  import re
  from typing import Dict, Any, List, Pattern, Set
  import urllib.request
  import click
  from tfx.dsl.io import fileio
  from tfx.tools.cli import labels
label_desc: Use image node_id 1 for calling a global function with example usage: _tfx_src_dir() and returns: os