Salary-API icon indicating copy to clipboard operation
Salary-API copied to clipboard

Chicago city employees Salary API built in one hour with Python and Flask under 35 lines of code

Results 4 Salary-API issues
Sort by recently updated
recently updated
newest added

Bumps [jinja2](https://github.com/pallets/jinja) from 2.7.3 to 2.11.3. Release notes Sourced from jinja2's releases. 2.11.3 This contains a fix for a speed issue with the urlize filter. urlize is likely to be...

dependencies

result = {'data': [dict(zip(tuple (query.keys()) ,i)) for i in query.cursor]} ^ TabError: inconsistent use of tabs and spaces in indentation

Here: https://github.com/narenaryan/Salary-API/blob/master/app.py#L25 Since there's no input validation and no use of ORM, if the department name contains SQL code, your database is compromised.

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.15.3 to 0.15.5. Release notes Sourced from werkzeug's releases. 0.15.5 Changelog: http://werkzeug.palletsprojects.com/en/0.15.x/changes/#version-0-15-5 0.15.4 Blog: https://palletsprojects.com/blog/werkzeug-0-15-3-released/ Changes: https://werkzeug.palletsprojects.com/en/0.15.x/changes/#version-0-15-4 Changelog Sourced from werkzeug's changelog. Version 0.15.5 Released 2019-07-17 Fix...

dependencies