def render(self, file_path, **kwargs):
temp = get_tempfile(suffix='<STR_LIT>')<EOL>self.save_content(temp.name)<EOL>file_type = kwargs.get('<STR_LIT>', '<STR_LIT>')<EOL>dpi = kwargs.get('<STR_LIT>', <NUM_LIT>)<EOL>support_unicode = kwargs.get('<STR_LIT>', False)<EOL>try:<EOL><INDENT>if file_type == '<STR_LIT>':<EOL><INDENT>shutil.copyfile(temp.name, file_path)<EOL><DEDENT>elif file_type == '<STR_LIT>':<EOL><INDENT>svg2png(temp.name, file_path, dpi=dpi)<EOL><DEDENT>elif file_type == '<STR_LIT>':<EOL><INDENT>svg2pdf(temp.name, file_path, dpi=dpi, support_unicode=support_unicode)<EOL><DEDENT><DEDENT>except:<EOL><INDENT>log.exception(<EOL>'<STR_LIT>'.format(file_path, file_type)<EOL>)<EOL>raise<EOL><DEDENT>
Save the content of the .svg file in the chosen rendered format.

        Parameters
        ----------
        file_path: str
            Path to the output file.

        Kwargs
        ------
        file_type: str
            Choices: 'png', 'pdf', 'svg'
            Default: 'pdf'

        dpi: int
            Dots-per-inch for the png and pdf.
            Default: 150

        support_unicode: bool
            Whether to allow unicode to be encoded in the PDF.
            Default: False