(self, request)
| 289 | # Generic request handler, used if there's no specific handler below. |
| 290 | @message_handler |
| 291 | def request(self, request): |
| 292 | # Do not delegate requests from the server by default. There is a security |
| 293 | # boundary between the server and the adapter, and we cannot trust arbitrary |
| 294 | # requests sent over that boundary, since they may contain arbitrary code |
| 295 | # that the client will execute - e.g. "runInTerminal". The adapter must only |
| 296 | # propagate requests that it knows are safe. |
| 297 | raise request.isnt_valid( |
| 298 | "Requests from the debug server to the client are not allowed." |
| 299 | ) |
| 300 | |
| 301 | # Generic event handler, used if there's no specific handler below. |
| 302 | @message_handler |
no test coverage detected