ScoDoc-Lille/app/api/jury.py

41 lines
1.5 KiB
Python
Raw Normal View History

#################################################### Jury #############################################################
2022-05-03 13:35:17 +02:00
# from flask import jsonify
2022-05-03 13:35:17 +02:00
# from app import models
# from app.api import api_bp as bp
2022-05-03 13:35:17 +02:00
# from app.api.errors import error_response
# from app.scodoc.sco_prepajury import feuille_preparation_jury
# from app.scodoc.sco_pvjury import formsemestre_pvjury
2022-05-03 13:35:17 +02:00
# # @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
2022-05-03 13:35:17 +02:00
# formsemestre_id : l'id d'un formsemestre
# """
# # Fonction utilisée : app.scodoc.sco_prepajury.feuille_preparation_jury()
2022-05-03 13:35:17 +02:00
# # Utilisation de la fonction feuille_preparation_jury
# prepa_jury = feuille_preparation_jury(formsemestre_id)
2022-05-03 13:35:17 +02:00
# return error_response(501, message="Not implemented")
2022-05-03 13:35:17 +02:00
# # @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é
2022-05-03 13:35:17 +02:00
# formsemestre_id : l'id d'un formsemestre
# """
# # Fonction utilisée : app.scodoc.sco_pvjury.formsemestre_pvjury()
2022-05-03 13:35:17 +02:00
# # Utilisation de la fonction formsemestre_pvjury
# decision_jury = formsemestre_pvjury(formsemestre_id)
2022-05-03 13:35:17 +02:00
# return error_response(501, message="Not implemented")