(self, template_path, context_dict=None)
return DjangoRenderTemplate(template_path, variables_dict)
Render a template.

    Renders a template with the standard dictionary of bindings.

    Args:
      template_path: (str) Full path to a template.
      context_dict: (dict) A dictionary to augment the standard template
        dictionary.
    Returns:
      (str) The fully rendered template string.
Render a template.
Render a template .
def RenderTemplate(self, template_path, context_dict=None):
    """Render a template.

    Renders a template with the standard dictionary of bindings.

    Args:
      template_path: (str) Full path to a template.
      context_dict: (dict) A dictionary to augment the standard template
        dictionary.
    Returns:
      (str) The fully rendered template string.
    """
    variables_dict = {
        'tool': self._tool_info,  # Information about the build tool
        'options': self._options,  # Options for this invocation
        'template_dir': self._template_dir,  # path to the template tree
        'features': self._surface_features,  # sub language options
        'language_model': self._language_model
        }
    if context_dict:
      variables_dict.update(context_dict)
    return DjangoRenderTemplate(template_path, variables_dict)
def RenderTemplate ( self , template_path , context_dict = None ) : variables_dict = { 'tool' : self . _tool_info , # Information about the build tool 'options' : self . _options , # Options for this invocation 'template_dir' : self . _template_dir , # path to the template tree 'features' : self . _surface_features , # sub language options 'language_model' : self . _language_model } if context_dict : variables_dict . update ( context_dict ) return DjangoRenderTemplate ( template_path , variables_dict )