From ab9d6ba776acff4692fed4149cc850be2cb90580 Mon Sep 17 00:00:00 2001
From: "paul.milleville.etu" <paul.milleville.etu@univ-lille.fr>
Date: Fri, 28 Feb 2025 10:49:37 +0100
Subject: [PATCH] =?UTF-8?q?esssaie=20pour=20r=C3=A9cup=C3=A9rer=20la=20lis?=
 =?UTF-8?q?t=20des=20partitions?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/scodoc/sco_synchro_etuds.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/app/scodoc/sco_synchro_etuds.py b/app/scodoc/sco_synchro_etuds.py
index 0913caa4..61913501 100644
--- a/app/scodoc/sco_synchro_etuds.py
+++ b/app/scodoc/sco_synchro_etuds.py
@@ -271,12 +271,10 @@ def formsemestre_synchro_etuds(
             print("_____________________________________________________________________________")
             print(nip_etape)
             
-            partition_id = sco_groups.partition_create(formsemestre_id=formsemestre_id,partition_name="Groupe Apogée")
-            
-            print("partition id : ")
-            print(partition_id)
-            print("partition : ")
-            print(sco_groups.get_partition(partition_id=partition_id))
+            sco_groups.partition_create(formsemestre_id=formsemestre_id,partition_name="Groupe Apogée")
+            list_partition = sco_groups.get_partitions_list()
+            print("list_partition : ")
+            print(list_partition)
 
             #
             # check decisions jury ici pour éviter de recontruire le cache
-- 
GitLab