code: def arghash(args: Any, kwargs: Any) -> int:
      """Simple argument hash with kwargs sorted."""
      sorted_args = tuple(
          x if hasattr(x, "__repr__") else x
          for x in [*args, *sorted(kwargs.items())]
      )
      return hash(sorted_args)
  
file_path: superset/superset/utils/decorators.py
imports: from __future__ import annotations
  import logging
  import time
  from collections.abc import Iterator
  from contextlib import contextmanager
  from typing import Any, Callable, TYPE_CHECKING
  from uuid import UUID
  from flask import current_app, g, Response
  from superset.utils import core
  from superset.utils.dates import now_as_float
label_desc: Use image node_id 4 for calling a global function with example usage: arghash(args, kwargs) and returns: hash