original_docstring: map the map_fun to all submodules in config
  
          use the map_fun to process all the modules
  
          Args:
              config: a dict of submodules, the key is the module kind wich registed in config_parser_register
              map_fun: use the map_fun process the submodule
  
          Returns: TODO
  
          
docstring: map the map_fun to all submodules in config
  use the map_fun to process all the modules
docstring_tokens: map the map_fun to all submodules in config use the map_fun to process all the modules
code: def map_to_submodule(self, config: dict, map_fun: Callable) -> Dict:
          """map the map_fun to all submodules in config
  
          use the map_fun to process all the modules
  
          Args:
              config: a dict of submodules, the key is the module kind wich registed in config_parser_register
              map_fun: use the map_fun process the submodule
  
          Returns: TODO
  
          """
          modules_config = {}
          for kind_module in config:
              modules_config[kind_module] = map_fun(config[kind_module], kind_module)
          return modules_config
code_tokens: def map_to_submodule ( self , config : dict , map_fun : Callable ) -> Dict : modules_config = { } for kind_module in config : modules_config [ kind_module ] = map_fun ( config [ kind_module ] , kind_module ) return modules_config
short_docstring: map the map_fun to all submodules in config
  use the map_fun to process all the modules
short_docstring_tokens: map the map_fun to all submodules in config use the map_fun to process all the modules
comment: """map the map_fun to all submodules in config
  
          use the map_fun to process all the modules
  
          Args:
              config: a dict of submodules, the key is the module kind wich registed in config_parser_register
              map_fun: use the map_fun process the submodule
  
          Returns: TODO
  
          """