forked from ScoDoc/ScoDoc
avancement sur les routes jury
This commit is contained in:
parent
79b5530813
commit
84f43e1b36
@ -61,6 +61,8 @@ from app.scodoc.sco_permissions import Permission
|
|||||||
|
|
||||||
|
|
||||||
############################################### Departements ##########################################################
|
############################################### Departements ##########################################################
|
||||||
|
from app.scodoc.sco_prepajury import feuille_preparation_jury
|
||||||
|
from app.scodoc.sco_pvjury import formsemestre_pvjury
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/departements", methods=["GET"])
|
@bp.route("/departements", methods=["GET"])
|
||||||
@ -534,20 +536,31 @@ def evaluation_set_notes(eval_id: int, etudid: int, note: float):
|
|||||||
return error_response(501, message="Not implemented")
|
return error_response(501, message="Not implemented")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#################################################### Jury #############################################################
|
#################################################### Jury #############################################################
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/jury/formsemestre/<int:formsemestre_id>/preparation_jury", methods=["GET"])
|
@bp.route("/jury/formsemestre/<int:formsemestre_id>/preparation_jury", methods=["GET"])
|
||||||
def jury_preparation(formsemestre_id: int):
|
def jury_preparation(formsemestre_id: int): # XXX TODO check à quoi resemble le retour de la fonction
|
||||||
"""
|
"""
|
||||||
Feuille de préparation du jury
|
Feuille de préparation du jury
|
||||||
"""
|
"""
|
||||||
|
# fonction to use : feuille_preparation_jury()
|
||||||
|
|
||||||
|
prepa_jury = feuille_preparation_jury(formsemestre_id)
|
||||||
|
|
||||||
return error_response(501, message="Not implemented")
|
return error_response(501, message="Not implemented")
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/jury/formsemestre/<int:formsemestre_id>/decisions_jury", methods=["GET"])
|
@bp.route("/jury/formsemestre/<int:formsemestre_id>/decisions_jury", methods=["GET"])
|
||||||
def jury_decisions(formsemestre_id: int):
|
def jury_decisions(formsemestre_id: int): # XXX TODO check à quoi resemble le retour de la fonction
|
||||||
"""
|
"""
|
||||||
Retourne les décisions du jury suivant un formsemestre donné
|
Retourne les décisions du jury suivant un formsemestre donné
|
||||||
"""
|
"""
|
||||||
|
# fonction to use : formsemestre_pvjury
|
||||||
|
|
||||||
|
decision_jury = formsemestre_pvjury(formsemestre_id)
|
||||||
|
|
||||||
return error_response(501, message="Not implemented")
|
return error_response(501, message="Not implemented")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user