MCPcopy
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
49def 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
55def create_test_app():

Callers 3

indexFunction · 0.70
all_usersFunction · 0.70
user_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected