def DownloadMapper(t):

  url, corpus = t

  url_hash = Hashhex(url)

  mapping_filename = '%s/entities/%s.txt' % (corpus, url_hash)
  if not os.path.exists(mapping_filename):
    raise RuntimeError('No metadata available for %s.' % url)

  return url, DownloadUrl(url, corpus)
When no proto in the config, the default (0) is used.
dataset/ETHPy150Open deepmind/rc-data/generate_questions.py/DownloadMapper--crossover with--dataset/ETHPy150Open circus-tent/circus/circus/tests/test_sockets.py/TestSockets.test_load_from_config_no_proto