forked from orbit-oss/flask
Added flask.copy_current_request_context which simplies working with greenlets
This commit is contained in:
parent
0faed95385
commit
097353695e
7 changed files with 272 additions and 114 deletions
|
|
@ -1821,3 +1821,9 @@ class Flask(_PackageBoundObject):
|
|||
def __call__(self, environ, start_response):
|
||||
"""Shortcut for :attr:`wsgi_app`."""
|
||||
return self.wsgi_app(environ, start_response)
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s %r>' % (
|
||||
self.__class__.__name__,
|
||||
self.name,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue