graph-explorer
graph-explorer copied to clipboard
replacing json.dumps with flask jsonify
Hi Benoit,
We have a free program analysis tool for Python based web projects, called Bento. While we were scanning GitHub projects for issues, your project triggered a warning for using json.dumps()
instead of flask jsonify()
.
I suspect you used json.dumps()
because you are returning a list. Since 0.11, jsonify
supports lists so this should be ok.
Otherwise, according to Bento, your project is fairly clean. If you are interested, feel free download and give Bento a try (https://bento.dev).