Skip to content

replacing json.dumps with flask jsonify - #21

Open
daghan wants to merge 1 commit into
entrepreneur-interet-general:masterfrom
daghan:master
Open

replacing json.dumps with flask jsonify#21
daghan wants to merge 1 commit into
entrepreneur-interet-general:masterfrom
daghan:master

Conversation

@daghan

@daghan daghan commented Jan 3, 2020

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant