Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ from_text
Function
from_text
tests/test_basic.py:1117–1118 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1115
def
test_response_types(app, client):
1116
@app.route(
"/text"
)
1117
def
from_text():
1118
return
"Hällo Wörld"
1119
1120
@app.route(
"/bytes"
)
1121
def
from_bytes():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected