Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/webpy/webpy
/ getvalue
Function
getvalue
web/utils.py:163–167 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
161
return
s
162
163
def
getvalue(x):
164
if
hasattr(x,
"file"
) and hasattr(x,
"raw"
):
165
return
x.file.read()
166
else
:
167
return
unicodify(getattr(x,
"value"
, x))
168
169
stor = Storage()
170
for
key in requireds + tuple(mapping.keys()):
Callers
1
storify
Function · 0.85
Calls
1
unicodify
Function · 0.85
Tested by
no test coverage detected