We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreachable code:
# sanic/sanic.py 76 # Detect which way this was called, @middleware or @middleware('AT') 77 if len(args) == 1 and len(kwargs) == 0 and callable(args[0]): 78 return register_middleware(args[0]) 79 else: 80 attach_to = args[0] 81 return register_middleware 82 ################################## ENDS HERE 83 if isinstance(middleware, FunctionType): 84 middleware = Middleware(process_request=middleware) 85 86 return middleware
The text was updated successfully, but these errors were encountered:
Fixed, thanks!
Sorry, something went wrong.
Merge pull request #25 from huge-success/master
439a386
Merge upstream master branch
No branches or pull requests
Unreachable code:
The text was updated successfully, but these errors were encountered: