Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ get_session
Function
get_session
tests/test_testing.py:150–151 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
148
149
@app.route(
"/getsession"
)
150
def
get_session():
151
return
flask.session.get(
"data"
,
"<missing>"
)
152
153
with
client:
154
rv = client.get(
"/getsession"
)
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected