# -*- coding: utf-8 -*-from flask import request, jsonify, json, Moduleimport loggingfrom web.utils.consts import POST, GETfrom web.db.dbSession import DBManagerfrom web.db.models import Class NAMESPACE = 'student'student = Module(__name__, NAMESPACE…