code: def key_hash(key):
      
      hashed = hashlib.md5()
      for k, v in sorted(key.items()):
          hashed.update(str(v).encode())
      return hashed.hexdigest()
docs: 32-byte hash used for lookup of primary keys of jobs