Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bregman-arie/devops-exercises
/ pretty_json
Function
pretty_json
topics/flask_container_ci/app/main.py:49–52 ·
view source on GitHub ↗
(arg)
Source
from the content-addressed store, hash-verified
47
48
49
def
pretty_json(arg):
50
response = make_response(json.dumps(arg, sort_keys=True, indent=4))
51
response.headers[
'Content-type'
] =
"application/json"
52
return
response
53
54
55
def
create_test_app():
Callers
3
index
Function · 0.70
all_users
Function · 0.70
user_data
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected