(self, context)
return ''
Render the 'write' tag.

    Evaluate the file name, evaluate the content, find the writer, ship it.

    Args:
      context: (Context) the render context.
    Returns:
      An empty string.
    Raises:
      ValueError: If the file writer method can not be found.
Render the 'write' tag.
Render the write tag .
def render(self, context):  # pylint: disable=g-bad-name
    """Render the 'write' tag.

    Evaluate the file name, evaluate the content, find the writer, ship it.

    Args:
      context: (Context) the render context.
    Returns:
      An empty string.
    Raises:
      ValueError: If the file writer method can not be found.
    """
    path = django_template.Variable(self._path_variable).resolve(context)
    content = self._nodelist.render(context)
    file_writer = _GetFromContext(context, FILE_WRITER)
    if not file_writer:
      raise ValueError('"write" called in a context where "%s" is not defined.',
                       FILE_WRITER)
    file_writer(path, content)
    return ''
def render ( self , context ) : # pylint: disable=g-bad-name path = django_template . Variable ( self . _path_variable ) . resolve ( context ) content = self . _nodelist . render ( context ) file_writer = _GetFromContext ( context , FILE_WRITER ) if not file_writer : raise ValueError ( '"write" called in a context where "%s" is not defined.' , FILE_WRITER ) file_writer ( path , content ) return ''