(request, *args, **kwargs)
| 34 | |
| 35 | @wraps(func) |
| 36 | async def inner(request, *args, **kwargs): |
| 37 | if request.method not in request_method_list: |
| 38 | response = HttpResponseNotAllowed(request_method_list) |
| 39 | log_response( |
| 40 | "Method Not Allowed (%s): %s", |
| 41 | request.method, |
| 42 | request.path, |
| 43 | response=response, |
| 44 | request=request, |
| 45 | ) |
| 46 | return response |
| 47 | return await func(request, *args, **kwargs) |
| 48 | |
| 49 | else: |
| 50 |
nothing calls this directly
no test coverage detected