code: def _extract_inputs(
      data: Dict[str, TileableType] = None
  ) -> List[TileableType]:
      if data is not None and not isinstance(data, dict):
          raise TypeError(
              "`data` must be a dict whose key is variable name and value is data"
          )
  
      inputs = []
      if data is not None:
          for v in data.values():
              if isinstance(v, TILEABLE_TYPE):
                  inputs.append(v)
  
      return inputs
  
imports: import os
  import sys
  from typing import Any, BinaryIO, Dict, List, TextIO, Union
  import numpy
  from ..None import opcodes
  from ..core import OutputType, TILEABLE_TYPE
  from ..core.context import Context
  from ..core.operand import MergeDictOperand
  from ..serialization.serializables import BytesField, ListField, Int32Field, DictField, BoolField
  from ..typing import TileableType, SessionType
  from ..utils import to_binary, build_fetch_tileable
label_desc: Use image node_id 1 for calling a global function with example usage: _extract_inputs(data) and returns: inputs