Clean up use cases

This commit is contained in:
Adam Hopkins 2021-02-03 22:37:19 +02:00
parent 3f1e9ff528
commit 967c4e6a4e

View File

@ -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()