code: def build_uuid_to_id_map(position: dict[str, Any]) -> dict[str, int]:
      return {
          child["meta"]["uuid"]: child["meta"]["chartId"]
          for child in position.values()
          if (
              isinstance(child, dict)
              and child["type"] == "CHART"
              and "uuid" in child["meta"]
          )
      }
  
file_path: superset/superset/commands/dashboard/importers/v1/utils.py
imports: import json
  import logging
  from typing import Any
  from flask import g
  from sqlalchemy.orm import Session
  from superset import security_manager
  from superset.commands.exceptions import ImportFailedError
  from superset.models.dashboard import Dashboard
label_desc: Use image node_id 3 for calling a global function with example usage: build_uuid_to_id_map(position) and returns: unknown