code: def get_maps():
      """Get the full dict of maps {map_name: map_class}."""
      maps = {}
      for mp in Map.all_subclasses():
          if mp.filename or mp.battle_net:
              map_name = mp.__name__
              if map_name in maps:
                  raise DuplicateMapError(
                      "Duplicate map found: " + map_name
                  )
              maps[map_name] = mp
      return maps
  
file_path: pysc2/pysc2/maps/lib.py
imports: import os
  from absl import logging
label_desc: Use image node_id 1 for calling a global function with example usage: get_maps() and returns: maps