original_docstring: Downloads external flatbuffer schemas to the fbs directory.
  
    Args:
      temp_dir: Temporary directory for installing temporary flatbuffer files,
        such as the downloaded external .fbs files.
  
    Returns:
      Path to where the flatbuffer schema are downloaded.
    
docstring: Downloads external flatbuffer schemas to the fbs directory.
docstring_tokens: Downloads external flatbuffer schemas to the fbs directory .
code: def download_external_fbs(temp_dir):
    """Downloads external flatbuffer schemas to the fbs directory.
  
    Args:
      temp_dir: Temporary directory for installing temporary flatbuffer files,
        such as the downloaded external .fbs files.
  
    Returns:
      Path to where the flatbuffer schema are downloaded.
    """
    downloaded_fbs_dir = os.path.join(temp_dir, 'downloaded_flatbuffers')
    if not os.path.exists(downloaded_fbs_dir):
      for fbs_url, fbs_path in _EXTERNAL_FLATBUFFERS:
        file_name = os.path.join(downloaded_fbs_dir, fbs_path)
        os.makedirs(os.path.dirname(file_name))
        urllib.request.urlretrieve(os.path.join(fbs_url, fbs_path), file_name)
    return os.path.normpath(downloaded_fbs_dir)
code_tokens: def download_external_fbs ( temp_dir ) : downloaded_fbs_dir = os . path . join ( temp_dir , 'downloaded_flatbuffers' ) if not os . path . exists ( downloaded_fbs_dir ) : for fbs_url , fbs_path in _EXTERNAL_FLATBUFFERS : file_name = os . path . join ( downloaded_fbs_dir , fbs_path ) os . makedirs ( os . path . dirname ( file_name ) ) urllib . request . urlretrieve ( os . path . join ( fbs_url , fbs_path ) , file_name ) return os . path . normpath ( downloaded_fbs_dir )
short_docstring: Downloads external flatbuffer schemas to the fbs directory.
short_docstring_tokens: Downloads external flatbuffer schemas to the fbs directory .
comment: """Downloads external flatbuffer schemas to the fbs directory.
  
    Args:
      temp_dir: Temporary directory for installing temporary flatbuffer files,
        such as the downloaded external .fbs files.
  
    Returns:
      Path to where the flatbuffer schema are downloaded.
    """