code: def sqlite_id_type(data: Data) -> Literal["text", "integer"]:
      example = next(iter(data.keys()))
      python_type = type(example)
  
      if python_type is str:
          return "text"
      elif python_type is int:
          return "integer"
      else:
          raise ValueError("Invalid type for record id")
  
imports: from __future__ import annotations
  import collections
  import functools
  import itertools
  import multiprocessing
  import multiprocessing.dummy
  import os
  import queue
  import tempfile
  from typing import TYPE_CHECKING, overload
  import numpy
  from dedupe.backport import RLock
label_desc: Use image node_id 12 for calling a global function with example usage: sqlite_id_type(data) and returns: str, str