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)
| 3272 | raise NotImplementedError |
| 3273 | |
| 3274 | def render(self, *args, **kwargs): |
| 3275 | """ Render the template with the specified local variables and return |
| 3276 | a single byte or unicode string. If it is a byte string, the encoding |
| 3277 | must match self.encoding. This method must be thread-safe! |
| 3278 | Local variables may be provided in dictionaries (args) |
| 3279 | or directly, as keywords (kwargs). |
| 3280 | """ |
| 3281 | raise NotImplementedError |
| 3282 | |
| 3283 | |
| 3284 | class MakoTemplate(BaseTemplate): |