code: def get_template(template_dict, parameter_overrides=None):
          
  
          template_dict = template_dict or {}
          if template_dict:
              template_dict = SamTranslatorWrapper(template_dict).run_plugins()
  
          template_dict = SamBaseProvider._resolve_parameters(template_dict, parameter_overrides)
          ResourceMetadataNormalizer.normalize(template_dict)
          return template_dict
docs: Given a SAM template dictionary, return a cleaned copy of the template where SAM plugins have been run
          and parameter values have been substituted.
  
          Parameters
          ----------
          template_dict : dict
              unprocessed SAM template dictionary
  
          parameter_overrides: dict
              Optional dictionary of values for template parameters
  
          Returns
          -------
          dict
              Processed SAM template