Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/flask
/ __enter__
Method
__enter__
src/flask/ctx.py:274–276 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
272
appcontext_popped.send(self.app, _async_wrapper=self.app.ensure_sync)
273
274
def
__enter__(self) -> AppContext:
275
self.push()
276
return
self
277
278
def
__exit__(
279
self,
Callers
nothing calls this directly
Calls
1
push
Method · 0.95
Tested by
no test coverage detected