Render the template using keyword arguments as local variables.
(self, *args, **kwargs)
| 2753 | return env |
| 2754 | |
| 2755 | def render(self, *args, **kwargs): |
| 2756 | """ Render the template using keyword arguments as local variables. """ |
| 2757 | for dictarg in args: kwargs.update(dictarg) |
| 2758 | stdout = [] |
| 2759 | self.execute(stdout, kwargs) |
| 2760 | return ''.join(stdout) |
| 2761 | |
| 2762 | |
| 2763 | def template(*args, **kwargs): |