blob: 0a093d1019550c1524c0c6362c79d7e425611586 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
"""Endpoints used for data entry"""
from flask import Blueprint
from flask import jsonify
data_entry = Blueprint("data_entry", __name__)
@data_entry.route("/phenotype", methods=["POST"],
strict_slashes=False)
def load_phenotype():
"""Load the phenotype"""
return jsonify("Pass")
@data_entry.route("/genotype", methods=["POST"],
strict_slashes=False)
def load_genotype():
"""Load the genotype"""
return jsonify("Pass")
|