code: def get_method_from_fab_action_map():
      """Returns the map associating a FAB action to a method."""
      return {
          **{
              v: k
              for k, v in _MAP_METHOD_NAME_TO_FAB_ACTION_NAME.items()
          },
          ACTION_CAN_ACCESS_MENU: "GET",
      }
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from airflow.security.permissions import ACTION_CAN_ACCESS_MENU, ACTION_CAN_CREATE, ACTION_CAN_DELETE, ACTION_CAN_EDIT, ACTION_CAN_READ
label_desc: Use image node_id 2 for calling a global function with example usage: get_method_from_fab_action_map() and returns: dict