Clean up use cases
This commit is contained in:
parent
3f1e9ff528
commit
967c4e6a4e
|
@ -826,9 +826,6 @@ class Sanic(BaseSanic):
|
|||
await result
|
||||
|
||||
async def _run_request_middleware(self, request, request_name=None):
|
||||
print(self.request_middleware)
|
||||
print(self.named_request_middleware)
|
||||
print(request_name)
|
||||
# The if improves speed. I don't know why
|
||||
named_middleware = self.named_request_middleware.get(
|
||||
request_name, deque()
|
||||
|
|
Loading…
Reference in New Issue
Block a user