forked from ScoDoc/ScoDoc
42 lines
1.5 KiB
Python
42 lines
1.5 KiB
Python
#################################################### Jury #############################################################
|
|
# from flask import jsonify
|
|
|
|
# from app import models
|
|
# from app.api import bp
|
|
# from app.api.errors import error_response
|
|
# from app.api.auth import permission_required_api
|
|
# from app.scodoc.sco_prepajury import feuille_preparation_jury
|
|
# from app.scodoc.sco_pvjury import formsemestre_pvjury
|
|
|
|
|
|
# # @bp.route("/jury/formsemestre/<int:formsemestre_id>/preparation_jury", methods=["GET"])
|
|
# # @token_permission_required(Permission.?)
|
|
# def jury_preparation(formsemestre_id: int):
|
|
# """
|
|
# Retourne la feuille de préparation du jury
|
|
|
|
# formsemestre_id : l'id d'un formsemestre
|
|
# """
|
|
# # Fonction utilisée : app.scodoc.sco_prepajury.feuille_preparation_jury()
|
|
|
|
# # Utilisation de la fonction feuille_preparation_jury
|
|
# prepa_jury = feuille_preparation_jury(formsemestre_id)
|
|
|
|
# return error_response(501, message="Not implemented")
|
|
|
|
|
|
# # @bp.route("/jury/formsemestre/<int:formsemestre_id>/decisions_jury", methods=["GET"])
|
|
# # @token_permission_required(Permission.?)
|
|
# def jury_decisions(formsemestre_id: int):
|
|
# """
|
|
# Retourne les décisions du jury suivant un formsemestre donné
|
|
|
|
# formsemestre_id : l'id d'un formsemestre
|
|
# """
|
|
# # Fonction utilisée : app.scodoc.sco_pvjury.formsemestre_pvjury()
|
|
|
|
# # Utilisation de la fonction formsemestre_pvjury
|
|
# decision_jury = formsemestre_pvjury(formsemestre_id)
|
|
|
|
# return error_response(501, message="Not implemented")
|