code: def get_map_type_key(expand_input: ExpandInput) -> str:
      return next(
          k
          for k, v in _EXPAND_INPUT_TYPES.items()
          if v == type(expand_input)
      )
  
imports: from __future__ import annotations
  import collections.abc
  import functools
  import operator
  from typing import TYPE_CHECKING, Any, Dict, Iterable, Mapping, NamedTuple, Sequence, Sized, Union
  import attr
  from airflow.utils.mixins import ResolveMixin
  from airflow.utils.session import NEW_SESSION, provide_session
label_desc: Use image node_id 5 for calling a global function with example usage: get_map_type_key(expand_input) and returns: next