| 273 | |
| 274 | @wrappers.Request.application |
| 275 | def text_route(self, request): |
| 276 | ctx = plugin_util.context(request.environ) |
| 277 | experiment = plugin_util.experiment_id(request.environ) |
| 278 | run = request.args.get("run") |
| 279 | tag = request.args.get("tag") |
| 280 | markdown_arg = request.args.get("markdown") |
| 281 | enable_markdown = markdown_arg != "false" # Default to enabled. |
| 282 | response = self.text_impl(ctx, run, tag, experiment, enable_markdown) |
| 283 | return http_util.Respond(request, response, "application/json") |
| 284 | |
| 285 | def get_plugin_apps(self): |
| 286 | return { |