Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ get_session
Function
get_session
tests/test_basic.py:381–382 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
379
380
@app.get(
"/"
)
381
def
get_session() -> dict[str, t.Any]:
382
return
dict(flask.session)
383
384
# Set session with initial secret key
385
client.post()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected