Skip to content
Snippets Groups Projects
Commit aa614c53 authored by Paul Milleville's avatar Paul Milleville
Browse files

tentative de récupération de l'id de la partition créer

parent 15a2f0ea
No related branches found
No related tags found
No related merge requests found
......@@ -266,13 +266,18 @@ def formsemestre_synchro_etuds(
nip_etape=[]
for etu in a_importer:
nip_etape.append([etu,sco_portal_apogee.get_etuds_apogee_from_nip(etu)[0]['etape']])
print("Ceci est le repère de la modification")
print("_____________________________________________________________________________")
print(nip_etape)
list_partition = sco_groups.get_partitions_list(formsemestre_id=formsemestre_id)
print("list_partition : ")
print(list_partition)
partition_id = None
for partition in list_partition:
if partition['partition_name'] == 'Groupe Apogée':
partition_id = partition['partition_id']
break
print(partition_id)
sco_groups.partition_create(formsemestre_id=formsemestre_id,partition_name="Groupe Apogée")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment