code: def _get_url_hashes(path):
      """Get hashes of urls in file."""
      urls = _read_text_file(path)
  
      def url_hash(u):
          h = hashlib.sha1()
          try:
              u = u.encode("utf-8")
          except UnicodeDecodeError:
              logging.error("Cannot hash url: %s", u)
          h.update(u)
          return h.hexdigest()
  
      return {url_hash(u): True for u in urls}
  
file_path: datasets/tensorflow_datasets/summarization/cnn_dailymail.py
imports: import hashlib
  import os
  from typing import Dict, List
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _get_url_hashes(path) and returns: unknown, h