SyntaxFix
Write A Post
Hire A Developer
Questions
You can do:
flask.jsonify(**data)
or
flask.jsonify(id=str(album.id), title=album.title)