mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 17:18:11 +08:00
fix lint (#369)
This commit is contained in:
@@ -296,7 +296,7 @@ class AnnotationsVarAPI(Resource):
|
|||||||
annotation_response = current_app.data.annotation(request.get_json()["filter"], "var", fields)
|
annotation_response = current_app.data.annotation(request.get_json()["filter"], "var", fields)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return make_response(f"Error bad key in {fields}", HTTPStatus.BAD_REQUEST)
|
return make_response(f"Error bad key in {fields}", HTTPStatus.BAD_REQUEST)
|
||||||
except FilterError as e:
|
except FilterError:
|
||||||
return make_response("Malformed filter", HTTPStatus.BAD_REQUEST)
|
return make_response("Malformed filter", HTTPStatus.BAD_REQUEST)
|
||||||
return make_response(jsonify(annotation_response), HTTPStatus.OK)
|
return make_response(jsonify(annotation_response), HTTPStatus.OK)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user