Render the template with the specified local variables and return a single byte or unicode string. If it is a byte string, the encoding must match self.encoding. This method must be thread-safe! Local variables may be provided in dictionaries (args) or directly, as k
(self, *args, **kwargs)
| 4256 | raise NotImplementedError |
| 4257 | |
| 4258 | def render(self, *args, **kwargs): |
| 4259 | """ Render the template with the specified local variables and return |
| 4260 | a single byte or unicode string. If it is a byte string, the encoding |
| 4261 | must match self.encoding. This method must be thread-safe! |
| 4262 | Local variables may be provided in dictionaries (args) |
| 4263 | or directly, as keywords (kwargs). |
| 4264 | """ |
| 4265 | raise NotImplementedError |
| 4266 | |
| 4267 | |
| 4268 | class MakoTemplate(BaseTemplate): |