Conditions | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | from typing import Type |
||
26 | @WSGIRequest.application |
||
27 | def application(wsgi_request: WSGIRequest) -> WSGIResponse: |
||
28 | request_data = RequestData(wsgi_request) |
||
29 | request_func = self._router.dispatch( |
||
30 | request_data.path, request_data.method |
||
31 | ) |
||
32 | request = Request(request_data, request_func) |
||
33 | response = Response(request) |
||
34 | return response.wsgi() |
||
35 | |||
37 |