graph-explorer icon indicating copy to clipboard operation
graph-explorer copied to clipboard

replacing json.dumps with flask jsonify

Open daghan opened this issue 5 years ago • 0 comments

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).

daghan avatar Jan 03 '20 18:01 daghan