def getdrawings():
    """Get all the drawings."""
    infos = Info.query.all()
    sketches = [json.loads(info.contents) for info in infos]
    return jsonify(drawings=sketches)
def getdrawings ( ) : infos = Info . query . all ( ) sketches = [ json . loads ( info . contents ) for info in infos ] return jsonify ( drawings = sketches )
Get all the drawings.