code: def _get_hash(features):
      """Returns a hash key for features."""
      s = "|".join(
          [
              str(features["query_id"]),
              features["query"] or "",
              str(features["passage_id"]),
              features["passage"] or "",
          ]
      )
      return hash(s.encode())
  
imports: from __future__ import annotations
  import functools
  import json
  import os
  from typing import Mapping
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 4 for calling a global function with example usage: _get_hash(features) and returns: hash