When wrapping application with TraceMiddlware as it is mentioned in the docs I get the error:
venv/lib/python2.7/site-packages/flask/app.py:1836: in __call__
return self.wsgi_app(environ, start_response)
E TypeError: 'TraceMiddleware' object is not callable
The middleware is not callable (no sign of __call__ method) which means it violates the PEP333
When wrapping application with TraceMiddlware as it is mentioned in the docs I get the error:
The middleware is not callable (no sign of
__call__method) which means it violates the PEP333