@blueprint.route('/sources/<source>')
def get_source(source):
 return flask.jsonify(flask.request.sources.get(source, {}))

@ blueprint . route ( '/sources/<source>' ) def get_source ( source ) : return flask . jsonify ( flask . request . sources . get ( source , { } ) )
returns first translation in subproject .