Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ bump
Function
bump
tests/test_basic.py:476–479 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
474
475
@app.route(
"/bump"
)
476
def
bump():
477
rv = flask.session[
"foo"
] = flask.session.get(
"foo"
, 0) + 1
478
flask.session.permanent = is_permanent
479
return
str(rv)
480
481
@app.route(
"/read"
)
482
def
read():
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected