code: def _to_hex(data: bytes) -> str:
      """
      Converts the bytes object into a string of hexadecimal digits.
  
      :param data: the bytes object
      :returns: string of hexadecimal digits representing the bytes
      """
      return data.hex()
  
imports: import contextlib
  import re
  import threading
  from re import Pattern
  from typing import Any, Callable, List, NamedTuple, Optional
  from flask_babel import gettext
  from sqlalchemy.engine.reflection import Inspector
  from superset.constants import TimeGrain
  from superset.db_engine_specs.base import BaseEngineSpec
  from superset.errors import SupersetErrorType
  from superset.models.core import Database
  from superset.models.sql_lab import Query
label_desc: Use image node_id 1 for calling a global function with example usage: _to_hex(data) and returns: data