diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4d352d4..0ccaac6 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,8 +4,8 @@
-
-
+
+
@@ -453,7 +453,7 @@
1747251650255
-
+
@@ -495,7 +495,6 @@
-
@@ -520,6 +519,7 @@
-
+
+
\ No newline at end of file
diff --git a/Log/log_file.log b/Log/log_file.log
index 2393980..8f841d7 100644
--- a/Log/log_file.log
+++ b/Log/log_file.log
@@ -26149,3 +26149,1509 @@ INFO:root:2026-02-10 19:57:36.751058 : Security check : IP adresse '127.0.0.1'
INFO:werkzeug:127.0.0.1 - - [10/Feb/2026 19:57:36] "GET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
INFO:root:2026-02-10 19:57:41.808004 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [10/Feb/2026 19:57:41] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 16:13:09.508216 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 16:13:09.508216 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 16:13:09.509216 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 16:13:09.509216 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 16:13:09.509216 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 16:14:02.232831 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 16:14:02.232831 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 16:14:02.232831 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 16:14:02.232831 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 16:14:02.234835 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 16:16:30.298609 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:30.301605 : Le token partner est vide
+INFO:root:2026-02-11 16:16:30.304605 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:30.309604 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:30.313603 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:30.364124 : La session de connexion n'est pas valide
+INFO:root:2026-02-11 16:16:30.364124 : La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:30] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:30.366127 : La session de connexion n'est pas valide
+INFO:root:2026-02-11 16:16:32.458637 : getRecodedImage - Impossible de récupérer le recid du user
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:32] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:32.463652 : get_partner_account - La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:32] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:48.976785 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:49.074723 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:49.080725 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:49.085718 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:49.089718 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:49.093717 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:49.144239 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:49.148240 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:16:49.151239 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:49.170238 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:49.198241 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/Get_Ref_Pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:49.231765 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:49.436578 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:49] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:57.832612 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:57] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:16:59.143223 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:16:59] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:21:24.527987 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:21:24] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:23:15.052764 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:15] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:23:19.872427 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:19] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:23:30.733706 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:23:30.734704 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:23:30.739738 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:30] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:23:30.747704 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:30] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:30] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:23:30.768704 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:30] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:23:30.804269 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:23:30.807277 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:30] "POST /myclass/api/Get_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:23:30] "POST /myclass/api/Get_Given_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:24:51.073330 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:24:51] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:37:17.950822 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:37:17] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:37:18.160987 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:37:18] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:38:48.604678 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:38:48] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:38:52.981768 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:38:52.988769 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:38:53] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:38:53] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:39:05.664181 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:39:05.669181 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:39:05.676181 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:05] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:39:05.680185 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:05] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:05] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:39:05.699226 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:05] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:39:07.142489 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:07] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:39:08.086701 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:39:08.092702 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:08] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:39:08] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:46:11.066622 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:46:11] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:46:21.282464 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:46:21.291472 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:46:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:46:21.301985 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:46:21.303002 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:46:21] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:46:21] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:46:21.327488 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:46:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:47:11.792740 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:47:11] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:47:13.030707 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:47:13.054409 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:47:13] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:47:13] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:47:23.712476 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:47:23.729509 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:47:23] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:47:23] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:04.708013 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:04] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:25.496127 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:25] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:27.695579 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:48:27.701593 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:27] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:27] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:34.137039 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:48:34.141039 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:48:34.146041 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:34] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:34.152047 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:34] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:34] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:34.169560 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:34] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:35.618448 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:35] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:48:36.604654 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:48:36.610661 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:36] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:48:36] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:49:21.178797 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:49:21.190312 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:49:21.195325 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:21] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:49:21.207319 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:21] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:21] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:49:21.224320 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:21] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:49:50.381382 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:50] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:49:51.331656 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:49:51.339688 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:51] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:49:51] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:54:50.887518 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:54:50] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:55:02.663204 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:55:02.670281 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:55:02] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:55:02] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:55:22.628482 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:55:22] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:55:32.148683 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:55:32.187198 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:55:32] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:55:32] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:56:14.980267 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:56:14] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:58:21.429096 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:58:21.437096 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:58:21] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:58:21] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:58:47.018887 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:58:47] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:58:47.133510 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:58:47] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:02.354271 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:59:02.363271 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:02] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:02] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:29.152341 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:59:29.157340 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:29] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:29.167339 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:29] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:29.182345 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:29] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:29.193346 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:29] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:30.699513 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:30] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 16:59:31.763088 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 16:59:31.769105 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:31] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 16:59:31] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:24.844157 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:24] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:24.933275 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:24] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:31.946117 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:31] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:32.035409 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:32] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:43.220361 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:43] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:43.307323 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:43] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:52.804944 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:01:52.807946 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:01:52.810947 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:52] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:52.820957 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:52] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:52] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:52.836482 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:52] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:54.484956 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:54] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:01:55.588998 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:01:55.593997 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:55] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:01:55] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:02:12.858693 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:02:12] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:02:12.947259 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:02:12] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:02:22.986391 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:02:23] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:02:23.079731 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:02:23] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:05:22.226261 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:05:22.231286 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:22] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:22] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:05:33.760479 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:05:33.764481 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:05:33.766479 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:33] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:05:33.771480 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:33] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:33] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:05:33.789480 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:33] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:05:36.230879 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:36] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:05:37.240528 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:05:37.244042 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:37] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:05:37] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:06:51.978247 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:06:51] "[32mGET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite HTTP/1.1[0m" 308 -
+INFO:root:2026-02-11 17:06:52.003266 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:06:52] "GET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:07:10.465898 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:07:10] "[32mGET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite HTTP/1.1[0m" 308 -
+INFO:root:2026-02-11 17:07:10.467874 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:07:10] "GET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:07:57.286919 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:07:57.286919 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:07:57.286919 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:07:57.286919 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:07:57.286919 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:08:17.804466 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:08:17] "[32mGET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite HTTP/1.1[0m" 308 -
+INFO:root:2026-02-11 17:08:17.809450 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:08:17] "GET /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:08:45.935720 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:08:45.935720 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:08:45.935720 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:08:45.935720 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:08:45.935720 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:13:33.149980 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:13:33.149980 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:13:33.149980 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:13:33.149980 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:13:33.150515 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:15:18.364182 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:15:18.364182 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:15:18.364182 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:15:18.364182 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:15:18.364182 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:15:26.754944 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:15:26.758948 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:15:26] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:15:26] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:16:20.286161 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:20] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:16:28.067023 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:28] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:16:47.914255 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:16:47.915256 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:16:47.918255 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:16:47.921256 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:47] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:47] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:47] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:16:47.941256 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:47] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:16:49.148620 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:49] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:16:50.279421 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:16:50.283424 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:50] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:16:50] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:01.171330 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:01] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:01.248322 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:01] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:10.500749 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:10] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:10.593980 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:10] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:20.033924 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:20] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:20.128051 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:20] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:29.733095 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:29] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:17:29.827120 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:17:29] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:18:18.172711 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:18:18.177229 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:18:18] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:18:18] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:16.952151 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:16] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:19.967277 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:19] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:23.162166 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:19:23.166168 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:23] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:23] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:30.387236 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:30] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:30.469228 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:30] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:40.996843 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:41] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:19:41.080353 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:19:41] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:20:38.134933 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:20:38.134933 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:20:38.134933 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:20:38.134933 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:20:38.134933 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:21:17.880598 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:21:17.885355 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:17] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:17] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:21:41.317832 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:41] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:21:44.638887 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:21:44.642899 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:44] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:44] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:21:51.933155 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:51] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:21:52.021695 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:52] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:21:59.184589 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:59] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:21:59.297036 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:21:59] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:05.722217 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:05] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:05.812128 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:05] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:10.621115 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:10] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:10.703193 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:10] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:21.645970 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:21] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:21.731886 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:21] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:26.424598 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:26] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:26.512116 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:26] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:31.354108 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:31] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:31.474775 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:31] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:36.791969 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:36] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:36.889844 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:36] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:41.413286 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:41] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:22:41.527893 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:22:41] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:23:55.551993 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:23:55.551993 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:23:55.551993 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:23:55.551993 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:23:55.551993 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:24:41.680948 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:24:41] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:27:46.928809 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:27:46.928809 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:27:46.928809 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:27:46.928809 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:27:46.928809 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:28:25.207812 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:28:25.207812 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:28:25.207812 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:28:25.207812 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:28:25.207812 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:29:00.652887 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:29:00.652887 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:29:00.652887 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:29:00.652887 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:29:00.653888 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:30:14.016645 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:30:14] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:30:42.033030 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:30:42] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:31:07.124066 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:31:07] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:31:10.606241 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:31:10.609240 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:31:10] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:31:13.352026 : Get_Given_pole_activite_pedagogique -'mysy_single_field' - Line : 418
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:31:13] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:32:37.870895 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:32:37.873868 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:32:37] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:32:37] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:32:39.742194 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:32:39.745188 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:32:39] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:32:39.758189 : Get_Given_pole_activite_pedagogique -'mysy_single_field' - Line : 418
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:32:39] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:33:20.035514 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:33:20.035514 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:33:20.035514 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:33:20.035514 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:33:20.035514 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:34:10.510126 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:34:10.510126 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:34:10.510126 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:34:10.510126 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:34:10.510126 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:34:10.588263 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:34:10.590247 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:34:10] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:34:10] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:34:16.939160 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:34:19.425291 : Delete_Competence_Activite_From_Pole_pedagogique_And_Activite -'competence_id' - Line : 1028
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:34:19] "POST /myclass/api/Delete_Competence_Activite_From_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:35:01.310801 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:35:01.310801 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:35:01.311812 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:35:01.311812 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:35:01.311812 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:35:03.238174 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:03] "POST /myclass/api/Delete_Competence_Activite_From_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:03.291748 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:03] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:05.890083 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:05] "POST /myclass/api/Delete_Competence_Activite_From_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:05.941303 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:05] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:09.767734 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:09] "POST /myclass/api/Delete_Competence_Activite_From_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:09.816322 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:09] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:14.019539 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:14] "POST /myclass/api/Delete_Competence_Activite_From_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:35:14.091132 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:35:14] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:36:01.745152 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:36:01] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:36:37.832985 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:36:37.832985 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:36:37.832985 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:36:37.832985 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:36:37.832985 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:38:09.351608 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:38:09.351608 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:38:09.351608 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:38:09.351608 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:38:09.351608 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:38:36.435084 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:38:36.435084 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:38:36.435084 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:38:36.435084 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:38:36.435084 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:39:34.149637 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:39:34.149637 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:39:34.149637 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:39:34.149637 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:39:34.149637 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:39:53.720606 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:39:53.720606 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:39:53.720606 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:39:53.720606 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:39:53.721605 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:40:02.671246 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:40:02.671246 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:40:02.671246 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:40:02.671246 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:40:02.672249 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\pole_activite_pedagogique.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:40:26.784381 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:40:26.785376 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:40:26.785376 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:40:26.785376 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:40:26.785376 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-11 17:41:47.047995 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-11 17:41:47.050024 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:41:47] "POST /myclass/api/Get_competence_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:41:47] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:41:54.214512 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:41:54] "POST /myclass/api/Delete_Activite_From_Pole_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:41:54.263079 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:41:54] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:00.678993 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:00] "POST /myclass/api/Delete_Activite_From_Pole_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:00.722537 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:00] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:10.460225 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:10] "POST /myclass/api/Get_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:28.166659 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:28] "POST /myclass/api/Get_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:39.614571 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:39] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:39.694420 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:39] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:46.270009 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:46] "POST /myclass/api/Delete_Activite_From_Pole_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:46.315007 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:46] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:49.102194 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:49] "POST /myclass/api/Get_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:52.760793 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:52] "POST /myclass/api/Add_Update_tab_Activite_To_Pole_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:52.832307 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:52] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:53.494235 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:53] "POST /myclass/api/Get_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:55.954289 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:55] "POST /myclass/api/Add_Update_tab_Activite_To_Pole_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:42:56.025403 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:42:56] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:43:01.030297 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:43:01] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:43:01.101095 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:43:01] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:43:06.328197 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:43:06] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:43:06.396064 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:43:06] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:43:11.405515 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:43:11] "POST /myclass/api/Add_Update_Competence_To_Pole_pedagogique_And_Activite/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:43:11.483658 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:43:11] "POST /myclass/api/Get_Given_pole_activite_pedagogique/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:44:11.070418 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:44:11] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:44:14.415428 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:44:14] "POST /myclass/api/Get_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:44:15.269805 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:44:15] "POST /myclass/api/Get_tache_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-11 17:44:16.807894 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [11/Feb/2026 17:44:16] "POST /myclass/api/Get_pole_activite_pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:46:58.876882 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:46:58.876882 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:46:58.876882 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:46:58.876882 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:46:58.877875 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:47:35.170638 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:47:35.170638 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:47:35.170638 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:47:35.170638 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:47:35.170638 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 17:51:53.933257 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 17:51:53.933257 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 17:51:53.933257 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 17:51:53.933257 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 17:51:53.933257 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-11 18:46:54.145411 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-11 18:46:54.145411 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-11 18:46:54.145411 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-11 18:46:54.145411 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-11 18:46:54.145411 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 08:19:32.947164 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 08:19:32.947164 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 08:19:32.948163 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 08:19:32.948163 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 08:19:32.948163 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 08:20:07.142088 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 08:20:07.143045 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 08:20:07.143045 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 08:20:07.143045 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 08:20:07.143045 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 08:58:56.109798 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 08:58:56.110794 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 08:58:56.110794 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 08:58:56.110794 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 08:58:56.110794 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:06:31.528935 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:06:31.528935 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:06:31.528935 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:06:31.528935 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:06:31.529937 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:07:45.541114 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:07:45.541114 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:07:45.541114 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:07:45.541114 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:07:45.541114 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:09:34.610046 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:09:34.610046 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:09:34.610046 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:09:34.610046 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:09:34.610046 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:10:18.350650 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:10:18.351652 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:10:18.351652 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:10:18.351652 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:10:18.351652 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:12:14.861464 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:12:14.861464 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:12:14.861464 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:12:14.861464 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:12:14.861464 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:12:41.661599 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:12:41.661599 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:12:41.661599 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:12:41.661599 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:12:41.661599 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:13:34.067040 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:13:34.067040 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:13:34.067040 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:13:34.067040 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:13:34.067040 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:13:45.214841 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:13:45.214841 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:13:45.214841 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:13:45.214841 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:13:45.214841 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:13:57.495993 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:13:57.495993 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:13:57.495993 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:13:57.495993 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:13:57.495993 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:14:46.225373 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:14:46.225373 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:14:46.225373 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:14:46.225373 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:14:46.225373 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:15:33.814773 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:15:33.814773 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:15:33.814773 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:15:33.814773 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:15:33.814773 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:15:45.208915 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:15:45.208915 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:15:45.208915 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:15:45.208915 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:15:45.208915 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:16:39.682193 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:16:39.682193 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:16:39.682193 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:16:39.682193 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:16:39.682193 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:18:21.484352 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:18:21.485334 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:18:21.485334 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:18:21.485334 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:18:21.485334 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:18:35.168101 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:18:35.168101 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:18:35.168101 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:18:35.168101 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:18:35.168101 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:18:57.848552 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:18:57.848552 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:18:57.849563 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:18:57.849563 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:18:57.849563 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:19:26.328360 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:19:26.328360 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:19:26.328360 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:19:26.328360 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:19:26.328360 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:43:29.751604 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:43:29.752604 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:43:29.752604 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:43:29.752604 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:43:29.752604 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:43:43.695971 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:43:43.695971 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:43:43.695971 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:43:43.695971 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:43:43.695971 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 09:46:36.258334 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:36.259338 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:36.265355 : Le token partner est vide
+INFO:root:2026-02-12 09:46:36.269340 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:36.276116 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:36.282096 : La session de connexion n'est pas valide
+INFO:root:2026-02-12 09:46:36.284097 : La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:36] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:36.286114 : La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:36] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.473981 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.529519 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:37.533520 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:37.537520 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:37.541519 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.558537 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/Get_Nb_User_Internal_Mail_Not_Read/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.584106 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:37.588114 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:37.588114 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.599106 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/Get_List_Class_domaine/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/Get_Ref_Pedagogique_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.610094 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/Get_List_class_metier/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:37.613092 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:37.619130 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/Get_Partner_Object_Specific_Valide_Displayed_Fields/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/Get_List_Class_Categorie/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:37] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:38.897586 : get_partner_account - La session de connexion n'est pas valide
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:38.899581 : getRecodedImage - Impossible de récupérer le recid du user
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:50.426500 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:50.428537 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:50.432499 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:50] "POST /myclass/api/getRecodedParnterImage_from_front/ HTTP/1.1" 200 -
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:50] "POST /myclass/api/Get_List_Theme_Catalog_Pub/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:50.476536 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:50] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:46:53.992955 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:46:54.008023 : Connexion du partner recid = 43598820dd270936c3d2fd822717d0f18f194b1a1b894aaf89 OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:46:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:48:25.592234 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:48:25] "[32mGET /myclass/api/Add_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:48:25.596234 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:48:25] "GET /myclass/api/Add_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:48:55.008537 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:48:55] "[32mGET /myclass/api/Add_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:48:55.013281 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:48:55] "GET /myclass/api/Add_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:49:03.314574 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:49:03] "[32mGET /myclass/api/Add_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:49:03.319037 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:49:03] "GET /myclass/api/Add_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:49:11.582411 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:49:11] "[32mGET /myclass/api/Add_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:49:11.585580 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:49:11] "GET /myclass/api/Add_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:49:48.656334 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:49:48] "[32mGET /myclass/api/Update_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:49:48.665347 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:49:48.673367 : Update_bloc_competence - La valeur 'bloc_competence_id' n'est pas presente dans la liste des arguments
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:49:48] "GET /myclass/api/Update_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:50:03.535982 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:50:03] "[32mGET /myclass/api/Update_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:50:03.538997 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:50:03.549590 : Update_bloc_competence Le code BC_01 est déjà utilisé
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:50:03] "GET /myclass/api/Update_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:50:26.154075 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:50:26] "[32mGET /myclass/api/Update_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:50:26.161071 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:50:26] "GET /myclass/api/Update_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:50:56.006682 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:50:56] "[32mGET /myclass/api/Get_bloc_competence_no_filter HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:50:56.011680 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:50:56] "GET /myclass/api/Get_bloc_competence_no_filter/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:51:17.580852 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:51:17] "[32mGET /myclass/api/Get_Given_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:51:17.582818 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:51:17] "GET /myclass/api/Get_Given_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:51:20.028173 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:51:20] "[32mGET /myclass/api/Get_Given_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:51:20.032207 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:51:20.039672 : Get_Given_bloc_competence -'698d93d9dd738b5408be0c17s' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string - Line : 366
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:51:20] "GET /myclass/api/Get_Given_bloc_competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:52:22.719522 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:52:22] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:52:22.722520 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:52:22] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:53:49.091931 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:53:49.091931 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:53:49.091931 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:53:49.091931 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:53:49.091931 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 09:53:53.784208 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:53:53] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:53:53.793207 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:53:53] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:54:14.797918 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:54:14] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:54:14.801919 : Security check : IP adresse '127.0.0.1' connected
+INFO:root:2026-02-12 09:54:17.140802 : Add_Update_tab_Pole_Activite_To_Bloc_Competence L'identifiant du pôle d'activité 698ad5876552b46cfb3805f1 est invalide
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:54:17] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:54:38.461432 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:54:38] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:54:38.466435 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:54:38] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:54:59.965203 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:54:59] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:54:59.976195 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:54:59] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:55:23.155766 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:55:23] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:55:23.158282 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:55:23] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 09:55:38.512251 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:55:38] "[32mGET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:55:38.517251 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:55:38] "GET /myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:56:11.293605 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:56:11.294611 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:56:11.294611 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:56:11.294611 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:56:11.294611 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 09:56:20.946365 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:56:20] "[32mGET /myclass/api/Delete_Pole_Activite_From_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:56:20.951368 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:56:20] "GET /myclass/api/Delete_Pole_Activite_From_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:57:06.625829 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:57:06.625829 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:57:06.625829 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:57:06.625829 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:57:06.625829 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 09:58:10.703877 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:58:10] "[32mGET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:58:10.706885 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:58:10] "GET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:58:56.946403 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:58:56.946403 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:58:56.946403 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:58:56.946403 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:58:56.946403 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:59:06.692138 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:59:06.693140 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:59:06.693140 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:59:06.693140 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:59:06.693140 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:59:24.433092 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:59:24.433092 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:59:24.433092 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:59:24.433092 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:59:24.433092 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 09:59:39.066172 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 09:59:39.066172 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 09:59:39.067172 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 09:59:39.067172 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 09:59:39.067172 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 09:59:39.149478 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:59:39] "[32mGET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 09:59:39.152484 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 09:59:39] "GET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 10:00:09.531907 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:00:09] "[32mGET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 10:00:09.534905 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:00:09] "GET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 10:00:25.806714 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:00:25] "[32mGET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 10:00:25.811960 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:00:25] "GET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 10:00:44.886099 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:00:44] "[32mGET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 10:00:44.891113 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:00:44] "GET /myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:root:2026-02-12 10:01:37.778580 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:01:37] "[32mGET /myclass/api/Delete_UE_From_Bloc_Competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 10:01:37.781873 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:01:37] "GET /myclass/api/Delete_UE_From_Bloc_Competence/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 10:03:17.862848 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 10:03:17.863842 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 10:03:17.863842 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 10:03:17.863842 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 10:03:17.863842 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 10:03:56.847051 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 10:03:56.847556 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 10:03:56.847556 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 10:03:56.847556 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 10:03:56.847556 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 10:08:02.209811 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 10:08:02.209811 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 10:08:02.210812 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 10:08:02.210812 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 10:08:02.210812 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+INFO:werkzeug:[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
+ * Running on http://localhost:5001
+INFO:werkzeug:[33mPress CTRL+C to quit[0m
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 10:08:12.444306 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 10:08:12.445291 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 10:08:12.445291 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 10:08:12.445291 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 10:08:12.445291 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 10:08:25.143146 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:08:25] "[32mGET /myclass/api/Get_Given_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 10:08:25.145144 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:08:25] "GET /myclass/api/Get_Given_bloc_competence/ HTTP/1.1" 200 -
+INFO:werkzeug: * Detected change in 'C:\\Users\\Cherif\\Documents\\myclass.com\\Siteweb\\Elyos_Ftion_Initiale\\Ela_back\\Back_Office_FI\\bloc_competence.py', reloading
+INFO:werkzeug: * Restarting with stat
+DEBUG:matplotlib:matplotlib data path: C:\Users\Cherif\Documents\myclass.com\Siteweb\Elyos_Ftion_Continue\Ela_back\Back_Office\venv\Lib\site-packages\matplotlib\mpl-data
+DEBUG:matplotlib:CONFIGDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib:interactive is False
+DEBUG:matplotlib:platform is win32
+DEBUG:matplotlib:CACHEDIR=C:\Users\Cherif\.matplotlib
+DEBUG:matplotlib.font_manager:Using fontManager instance from C:\Users\Cherif\.matplotlib\fontlist-v390.json
+INFO:root:2026-02-12 10:09:15.339254 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
+INFO:root:2026-02-12 10:09:15.339254 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev_fi ++
+INFO:root:2026-02-12 10:09:15.339254 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev_fi') ++
+INFO:root:2026-02-12 10:09:15.339254 : ++ FLASK PORT 5001 ++
+INFO:root:2026-02-12 10:09:15.339254 : ++ LMS_BAS_URL mysy-hosting.com/ ++
+WARNING:werkzeug: * Debugger is active!
+INFO:werkzeug: * Debugger PIN: 479-264-725
+INFO:root:2026-02-12 10:09:26.799927 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:09:26] "[32mGET /myclass/api/Get_Given_bloc_competence HTTP/1.1[0m" 308 -
+INFO:root:2026-02-12 10:09:26.806956 : Security check : IP adresse '127.0.0.1' connected
+INFO:werkzeug:127.0.0.1 - - [12/Feb/2026 10:09:26] "GET /myclass/api/Get_Given_bloc_competence/ HTTP/1.1" 200 -
diff --git a/bloc_competence.py b/bloc_competence.py
new file mode 100644
index 0000000..be7919c
--- /dev/null
+++ b/bloc_competence.py
@@ -0,0 +1,1068 @@
+"""
+Ce document permet de gerer les blocs de compétence
+
+- code
+- description
+- commentaire
+- Liste des Poles d'activité
+- Liste UE :
+ ==> A chaque UE on associe la compétence validé
+
+
+"""
+from operator import itemgetter
+
+import bson
+import pymongo
+from pymongo import MongoClient
+import json
+from bson import ObjectId
+import re
+from datetime import datetime
+import prj_common as mycommon
+import secrets
+import inspect
+import sys, os
+import csv
+import pandas as pd
+from pymongo import ReturnDocument
+import GlobalVariable as MYSY_GV
+from math import isnan
+import GlobalVariable as MYSY_GV
+import ela_index_bdd_classes as eibdd
+import email_mgt as email
+import jinja2
+from flask import send_file
+from xhtml2pdf import pisa
+from email.message import EmailMessage
+from email.mime.text import MIMEText
+from email import encoders
+import smtplib
+from email.mime.multipart import MIMEMultipart
+from email.mime.text import MIMEText
+from email.mime.base import MIMEBase
+from email import encoders
+
+"""
+Fonction pour ajouter un bloc de compétence
+"""
+def Add_bloc_competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'description', 'commentaire', 'code',
+ ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'code' ]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+
+
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+ """
+ Verifier que ce code de l'activité n'est pas déjà utilisé
+ """
+ is_bloc_competence_code_used = MYSY_GV.dbname['bloc_competence'].count_documents({'code':str(diction['code']),
+ 'valide':'1',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_bloc_competence_code_used != 0 ):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " Le code "+str(diction['code'])+" est déjà utilisé ")
+ return False, " Le code "+str(diction['code'])+" est déjà utilisé "
+
+
+ mydata = {}
+
+ mydata = diction
+ del mydata['token']
+
+ # Initialisation des champs non envoyés à vide
+ for val in field_list:
+ if val not in diction.keys():
+ mydata[str(val)] = ""
+
+ mydata['creation_date'] = str(datetime.now())
+ mydata['creation_by'] = str(my_partner['_id'])
+ mydata['partner_owner_recid'] = str(my_partner['recid'])
+ mydata['valide'] = "1"
+ mydata['locked'] = "0"
+ mydata['tab_pole_activite'] = []
+ mydata['tab_ue'] = []
+
+
+ inserted_id = MYSY_GV.dbname['bloc_competence'].insert_one(mydata).inserted_id
+
+ if (not inserted_id):
+ mycommon.myprint(" Impossible de créer le bloc de compétence (2) ")
+ return False, " Impossible de créer le bloc de compétence (2) "
+
+ return True, " le bloc de compétence a été correctement ajoutée "
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de créer le bloc de compétence "
+
+
+"""
+Fonction de mise à jour un bloc de compétence
+"""
+def Update_bloc_competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'description', 'bloc_competence_id', 'commentaire', 'code',
+ ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'bloc_competence_id', 'code']
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+ """
+ Verifier que le code de compétence n'est pas utilisé par une autre compétence autre que celle ci
+ """
+
+ is_competence_code_used = MYSY_GV.dbname['bloc_competence'].count_documents({'code': str(diction['code']),
+ 'valide': '1',
+ '_id':{'$ne':ObjectId(str(diction['bloc_competence_id']))},
+ 'partner_owner_recid': str(
+ my_partner['recid'])})
+
+ if (is_competence_code_used != 0):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " Le code " + str(diction['code']) + " est déjà utilisé ")
+ return False, " Le code " + str(diction['code']) + " est déjà utilisé "
+
+
+ # Verifier que la compétence existe et est valide
+ is_valide_bloc_competence_id = MYSY_GV.dbname['bloc_competence'].count_documents({'_id':ObjectId(str(diction['bloc_competence_id'])),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+
+ if( is_valide_bloc_competence_id != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " L'identifiant de l'activité est invalide ")
+ return False, " L'identifiant de l'activité est invalide "
+
+
+ mydata = {}
+ mydata = diction
+ del mydata['token']
+
+
+ mydata['update_date'] = str(datetime.now())
+ mydata['update_by'] = str(my_partner['_id'])
+
+ result = MYSY_GV.dbname['bloc_competence'].find_one_and_update(
+ {'_id':ObjectId(str(diction['bloc_competence_id'])),
+ 'partner_owner_recid':str(my_partner['recid'])},
+ {"$set": mydata},
+ upsert=False,
+ return_document=ReturnDocument.AFTER
+ )
+ if ("_id" not in result.keys()):
+ mycommon.myprint(
+ " Impossible de mettre à jour le bloc de compétence (2) ")
+ return False, " Impossible de mettre à jour le bloc de compétence (2) "
+
+
+
+ return True, " le bloc de compétence a été correctement mise à jour "
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de mettre à jour le bloc de compétence "
+
+
+"""
+Recuperer la liste des un bloc de compétence d'un partenaire, sans filtres
+"""
+def Get_bloc_competence_no_filter(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token' ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token',]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+
+ RetObject = []
+ val_tmp = 0
+
+ qry = {"partner_owner_recid":str(my_partner['recid']), 'valide':'1', 'locked':'0'}
+
+ for New_retVal in MYSY_GV.dbname['bloc_competence'].find(qry).sort([("_id", pymongo.DESCENDING), ]):
+ user = New_retVal
+
+
+ if( "code" not in user.keys() ):
+ user["code"] = "--"
+
+
+ user['id'] = str(val_tmp)
+ val_tmp = val_tmp + 1
+
+ RetObject.append(mycommon.JSONEncoder().encode(user))
+
+ return True, RetObject
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de récupérer la liste des blocs de compétence "
+
+
+
+"""
+Recuperer les données d'une bloc de compétence donnée
+"""
+def Get_Given_bloc_competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', '_id' ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token',]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+
+ RetObject = []
+ val_tmp = 0
+
+ qry = {"partner_owner_recid":str(my_partner['recid']), 'valide':'1', 'locked':'0', '_id':ObjectId(str(diction['_id']))}
+
+ for New_retVal in MYSY_GV.dbname['bloc_competence'].find(qry):
+ user = New_retVal
+
+ if( "code" not in user.keys() ):
+ user["code"] = "--"
+
+ tab_pole_activite_with_code = []
+ if( "tab_pole_activite" in New_retVal.keys() ):
+ for tache_pedago in New_retVal['tab_pole_activite']:
+ tache_pedago_data = MYSY_GV.dbname['pole_activite_pedagogique'].find_one({'_id':ObjectId(str(tache_pedago['_id'])), 'valide':'1'}, {'_id':1, 'code':1, 'description':1, })
+
+ if("rang" in tache_pedago.keys()):
+ tache_pedago_data['rang'] = str(tache_pedago['rang'])
+ else:
+ tache_pedago_data['rang'] = "99"
+
+ if ("obligatoire" in tache_pedago.keys()):
+ tache_pedago_data['obligatoire'] = str(tache_pedago['obligatoire'])
+ else:
+ tache_pedago_data['obligatoire'] = "0"
+
+ tab_pole_activite_with_code.append(tache_pedago_data)
+
+ ss = sorted(tab_pole_activite_with_code, key=itemgetter('rang'))
+
+ user['tab_pole_activite_with_code'] = tab_pole_activite_with_code
+
+ tab_tab_ue_competence_with_code = []
+ cpt_local_tab_ue_competence = 0
+ if ("tab_ue" in New_retVal.keys()):
+ for ue_competence in New_retVal['tab_ue']:
+ if ("competence_id" in ue_competence.keys() and
+ "ue_id" in ue_competence.keys() and
+ "mysy_single_field" in ue_competence.keys()):
+
+ local_competence_data = MYSY_GV.dbname['competence_pedagogique'].find_one(
+ {'_id': ObjectId(str(ue_competence['competence_id'])),
+ 'partner_owner_recid': str(my_partner['recid'])})
+
+ local_ue_data = MYSY_GV.dbname['unite_enseignement'].find_one(
+ {'_id': ObjectId(str(ue_competence['ue_id'])),
+ 'partner_owner_recid': str(my_partner['recid'])})
+
+ local_node = {}
+ local_node['id'] = str(cpt_local_tab_ue_competence)
+ cpt_local_tab_ue_competence = cpt_local_tab_ue_competence + 1
+
+ local_node['mysy_single_field'] = str(ue_competence['mysy_single_field'])
+ local_node['ue_id'] = str(local_ue_data['_id'])
+ local_node['ue_code'] = str(local_ue_data['code'])
+ local_node['ue_titre'] = str(local_ue_data['titre'])
+
+ local_node['competence_id'] = str(local_competence_data['_id'])
+ local_node['competence_code'] = str(local_competence_data['code'])
+ local_node['competence_description'] = str(local_competence_data['description'])
+
+ local_node['creation_date'] = str(ue_competence['creation_date'])
+
+ tab_tab_ue_competence_with_code.append(local_node)
+
+
+ user['tab_tab_ue_competence_with_code'] = tab_tab_ue_competence_with_code
+
+ user['id'] = str(val_tmp)
+ val_tmp = val_tmp + 1
+ print("user = ", user)
+ RetObject.append(mycommon.JSONEncoder().encode(user))
+
+
+ return True, RetObject
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de récupérer la liste des blocs de compétence "
+
+
+
+"""
+Suppression un bloc de compétence
+"""
+def Delete_Given_bloc_competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'bloc_competence_id', ]
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'bloc_competence_id', ]
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+
+ qry = {'_id':ObjectId(str(diction['bloc_competence_id'])), 'partner_owner_recid':str(my_partner['recid'])}
+
+ ret_del_competence = MYSY_GV.dbname['bloc_competence'].delete_many(qry)
+
+ return True, "le bloc de compétence a été correctement supprimée"
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de supprimer le bloc de compétence "
+
+
+"""
+Ajouter un pole d'activité pédagogique d'un bloc de compétence
+"""
+def Add_Update_tab_Pole_Activite_To_Bloc_Competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'bloc_competence_id', 'pole_activite_id', 'rang', 'obligatoire']
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'bloc_competence_id', 'pole_activite_id', 'rang', 'obligatoire']
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+ if( diction['obligatoire'] not in ['0', '1']):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " La notion d'obligation est invalide ")
+ return False, " La notion d'obligation est invalide "
+
+ if ("rang" in diction.keys()):
+ local_status, local_note_max = mycommon.IsInt(str(diction['rang']).strip())
+ if (local_status is False):
+ mycommon.myprint(
+ " Le rang doit ĂȘtre un nombre entier ")
+ return False, " Le rang doit ĂȘtre un nombre entier"
+
+
+
+ """
+ Verifier la validité de bloc_competence_id
+ """
+ is_valide_activite = MYSY_GV.dbname['bloc_competence'].count_documents({'_id':ObjectId(diction['bloc_competence_id']),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_activite != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant du bloc de compétence est invalide ")
+ return False, " L'identifiant du bloc de compétence est invalide "
+
+ """
+ Verifier la validité de pole_activite_id
+ """
+ is_valide_pole = MYSY_GV.dbname['pole_activite_pedagogique'].count_documents({'_id':ObjectId(str(diction['pole_activite_id'])),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_pole != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant du pÎle d'activité "+str(diction['pole_activite_id'])+" est invalide ")
+ return False, " L'identifiant du pÎle d'activité "+str(diction['pole_activite_id'])+" est invalide "
+
+
+ tab_pole_activite = []
+ tab_pole_activite.append(str(diction['pole_activite_id']))
+
+
+ for pole_id in tab_pole_activite:
+
+ """
+ Si le pole existe dans le bloc de compétence alors on fait un update,
+ si non on fait une insertion
+ """
+ is_pole_id_existe_in_bloc_competence = MYSY_GV.dbname['bloc_competence'].count_documents({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_pole_activite._id': ObjectId(str(diction['pole_activite_id']))
+ })
+
+ if( is_pole_id_existe_in_bloc_competence == 1):
+ print(" OUII existe, donc update")
+ update = MYSY_GV.dbname['bloc_competence'].update_one({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_pole_activite._id': ObjectId(str(diction['pole_activite_id']))
+ },
+ {'$set':
+ {
+ 'tab_pole_activite.$[xxx].rang': str( diction['rang']),
+ 'tab_pole_activite.$[xxx].obligatoire': str( diction['obligatoire']),
+ 'tab_pole_activite.$[xxx].update_date': str( datetime.now()),
+ 'tab_pole_activite.$[xxx].update_by': str(my_partner['_id']),
+ }
+ },
+ upsert=False,
+ array_filters=[
+ {"xxx._id": ObjectId(str(pole_id))},
+ ]
+ )
+
+ elif( is_pole_id_existe_in_bloc_competence == 0):
+ print(" NOOO existe, donc insert")
+ new_data = {}
+ new_data['_id'] = ObjectId(str(pole_id))
+ new_data['rang'] = str(diction['rang'])
+ new_data['obligatoire'] = str(diction['obligatoire'])
+ new_data['valide'] = "1"
+ new_data['creation_by'] = str(my_partner['_id'])
+ new_data['creation_date'] = str(datetime.now())
+ new_data['locked'] = "0"
+
+
+
+ insert = MYSY_GV.dbname['bloc_competence'].update_one({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ },
+
+ {
+ '$push': {
+ "tab_pole_activite": {
+ '$each': [new_data]
+ }
+ }
+ },
+
+ )
+
+
+
+
+
+
+ return True, " La mise à jour a été correctement faite "
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de faire la mise Ă jour "
+
+
+
+"""
+Supprimer un pole d'activité pédagogique d'un bloc de compétence
+"""
+def Delete_Pole_Activite_From_Bloc_Competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'bloc_competence_id', 'pole_activite_id']
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'bloc_competence_id', 'pole_activite_id']
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+
+
+ """
+ Verifier la validité du bloc de compétence
+ """
+ is_valide_bloc_compet = MYSY_GV.dbname['bloc_competence'].count_documents({'_id':ObjectId(diction['bloc_competence_id']),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_bloc_compet != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant du bloc de compétence est invalide ")
+ return False, " L'identifiant du bloc de compétence est invalide "
+
+ """
+ Verifier la validité de pole_activite_id
+ """
+ is_valide_pole = MYSY_GV.dbname['pole_activite_pedagogique'].count_documents({'_id':ObjectId(str(diction['pole_activite_id'])),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_pole != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant du pÎle d'activités "+str(diction['tache_pedagogique_id'])+" est invalide ")
+ return False, " L'identifiant du pÎle d'activités "+str(diction['tache_pedagogique_id'])+" est invalide "
+
+
+ tab_pole_activite = []
+ tab_pole_activite.append(str(diction['pole_activite_id']))
+
+
+ for pole_id in tab_pole_activite:
+
+ """
+ Si la tache existe dans tab_pole_activite, alors on fait un update,
+ si non on fait une insertion
+ """
+ is_pole_activite_existe_in_compet = MYSY_GV.dbname['bloc_competence'].count_documents({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_pole_activite._id': ObjectId(str(pole_id))
+ })
+
+ if( is_pole_activite_existe_in_compet == 1):
+ print(" OUII existe, donc update")
+ update = MYSY_GV.dbname['bloc_competence'].update_one({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_pole_activite._id': ObjectId(str(pole_id))
+ },
+ {'$pull': {"tab_pole_activite": {"_id": ObjectId(str(pole_id)) }}},
+
+ )
+
+
+
+
+ return True, " Le pÎle d'activité a été correctement supprimée "
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de supprimer le pÎle d'activité "
+
+
+"""
+Ajouter une liste d'UE Ă un bloc de competence
+"""
+def Add_Update_tab_UE_And_Competence_To_Bloc_Competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'bloc_competence_id', 'ue_id', 'competence_id', 'rang', 'obligatoire']
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'bloc_competence_id', 'ue_id', 'competence_id', 'rang', 'obligatoire']
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+ if( diction['obligatoire'] not in ['0', '1']):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " La notion d'obligation est invalide ")
+ return False, " La notion d'obligation est invalide "
+
+ if ("rang" in diction.keys()):
+ local_status, local_note_max = mycommon.IsInt(str(diction['rang']).strip())
+ if (local_status is False):
+ mycommon.myprint(
+ " Le rang doit ĂȘtre un nombre entier ")
+ return False, " Le rang doit ĂȘtre un nombre entier"
+
+
+
+ """
+ Verifier la validité de bloc_competence_id
+ """
+ is_valide_activite = MYSY_GV.dbname['bloc_competence'].count_documents({'_id':ObjectId(diction['bloc_competence_id']),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_activite != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant du bloc de compétence est invalide ")
+ return False, " L'identifiant du bloc de compétence est invalide "
+
+ """
+ Verifier la validité d'ue
+ """
+ is_valide_ue = MYSY_GV.dbname['unite_enseignement'].count_documents({'_id':ObjectId(str(diction['ue_id'])),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_ue != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant de l'unité d'enseignement "+str(diction['ue_id'])+" est invalide ")
+ return False, " L'identifiant de l'unité d'enseignement "+str(diction['ue_id'])+" est invalide "
+
+ """
+ Verifier la validité de la compétence
+ """
+ is_valide_competence = MYSY_GV.dbname['competence_pedagogique'].count_documents({'_id': ObjectId(str(diction['competence_id'])),
+ 'valide': '1',
+ 'locked': '0',
+ 'partner_owner_recid': str(
+ my_partner['recid'])})
+
+ if (is_valide_competence != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant de la compétence pédagogique " + str(diction['competence_id']) + " est invalide ")
+ return False, " L'identifiant de la compétence pédagogique " + str(diction['competence_id']) + " est invalide "
+
+
+ tab_ue = []
+ tab_ue.append(str(diction['ue_id']))
+
+
+ for local_eu_id in tab_ue:
+
+ local_mysy_single_field = str(diction['competence_id']) + "_" + str(local_eu_id)
+ """
+ Si local_mysy_single_field existe dans le bloc de compétence alors on fait un update,
+ si non on fait une insertion
+ """
+ is_mysy_single_field_existe_in_bloc_competence = MYSY_GV.dbname['bloc_competence'].count_documents({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_ue.mysy_single_field': str(local_mysy_single_field)
+ })
+
+ if( is_mysy_single_field_existe_in_bloc_competence == 1):
+ print(" OUII existe, donc update")
+ update = MYSY_GV.dbname['bloc_competence'].update_one({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_ue.mysy_single_field': str(local_mysy_single_field)
+ },
+ {'$set':
+ {
+ 'tab_ue.$[xxx].rang': str( diction['rang']),
+ 'tab_ue.$[xxx].obligatoire': str( diction['obligatoire']),
+ 'tab_ue.$[xxx].update_date': str( datetime.now()),
+ 'tab_ue.$[xxx].update_by': str(my_partner['_id']),
+ }
+ },
+ upsert=False,
+ array_filters=[
+ {"xxx.mysy_single_field": str(local_mysy_single_field)},
+ ]
+ )
+
+ elif( is_mysy_single_field_existe_in_bloc_competence == 0):
+ print(" NOOO existe, donc insert")
+ new_data = {}
+
+ new_data['ue_id'] = str(diction['ue_id'])
+ new_data['competence_id'] = str(diction['competence_id'])
+
+ new_data['rang'] = str(diction['rang'])
+ new_data['obligatoire'] = str(diction['obligatoire'])
+ new_data['valide'] = "1"
+ new_data['creation_by'] = str(my_partner['_id'])
+ new_data['creation_date'] = str(datetime.now())
+ new_data['locked'] = "0"
+ new_data['mysy_single_field'] = str(local_mysy_single_field)
+
+
+
+ insert = MYSY_GV.dbname['bloc_competence'].update_one({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+
+ },
+
+ {
+ '$push': {
+ "tab_ue": {
+ '$each': [new_data]
+ }
+ }
+ },
+
+ )
+
+
+
+
+
+
+ return True, " La mise à jour a été correctement faite "
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de faire la mise Ă jour "
+
+
+
+"""
+Supprimer une liste d'UE Ă un bloc de competence
+"""
+def Delete_UE_From_Bloc_Competence(diction):
+ try:
+ diction = mycommon.strip_dictionary(diction)
+
+ """
+ Verification des input acceptés
+ """
+ field_list = ['token', 'bloc_competence_id', 'mysy_single_field']
+
+ incom_keys = diction.keys()
+ for val in incom_keys:
+ if val not in field_list and val.startswith('my_') is False:
+ mycommon.myprint(str(
+ inspect.stack()[0][3]) + " Le champ '" + val + "' n'est pas autorisé")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification des champs obligatoires
+ """
+ field_list_obligatoire = ['token', 'bloc_competence_id', 'mysy_single_field']
+
+ for val in field_list_obligatoire:
+ if val not in diction:
+ mycommon.myprint(
+ str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans la liste des arguments ")
+ return False, " Les informations fournies sont incorrectes"
+
+ """
+ Verification de l'identité et autorisation de l'entité qui
+ appelle cette API
+ """
+ token = ""
+ if ("token" in diction.keys()):
+ if diction['token']:
+ token = diction['token']
+
+ local_status, my_partner = mycommon.Check_Connexion_And_Return_Partner_Data(diction)
+ if (local_status is not True):
+ return local_status, my_partner
+
+
+
+ """
+ Verifier la validité du bloc de competence
+ """
+ is_valide_bloc_compet = MYSY_GV.dbname['bloc_competence'].count_documents({'_id':ObjectId(diction['bloc_competence_id']),
+ 'valide':'1',
+ 'locked':'0',
+ 'partner_owner_recid':str(my_partner['recid'])})
+
+ if( is_valide_bloc_compet != 1):
+ mycommon.myprint(
+ str(inspect.stack()[0][
+ 3]) + " L'identifiant du bloc de compétence est invalide ")
+ return False, " L'identifiant du bloc de compétence est invalide "
+
+
+
+ tab_pole_activite = []
+ tab_pole_activite.append(str(diction['mysy_single_field']))
+
+
+ for local_mysy_single_field in tab_pole_activite:
+
+ """
+ Si la tache existe dans tab_pole_activite, alors on fait un update,
+ si non on fait une insertion
+ """
+ is_mysy_single_field_existe_in_compet = MYSY_GV.dbname['bloc_competence'].count_documents({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_ue.mysy_single_field': str(diction['mysy_single_field'])
+ })
+
+ if( is_mysy_single_field_existe_in_compet == 1):
+ print(" OUII existe, donc update")
+ update = MYSY_GV.dbname['bloc_competence'].update_one({'_id': ObjectId(str(diction['bloc_competence_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_ue.mysy_single_field': str(diction['mysy_single_field'])
+ },
+ {'$pull': {"tab_ue": {"mysy_single_field": str(local_mysy_single_field) }}},
+
+ )
+
+
+
+
+ return True, " L'Unité d'enseignement a été correctement supprimée "
+
+
+ except Exception as e:
+ exc_type, exc_obj, exc_tb = sys.exc_info()
+ mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
+ return False, " Impossible de supprimer l'unité d'enseignement "
diff --git a/main.py b/main.py
index 49e954d..b4cad17 100644
--- a/main.py
+++ b/main.py
@@ -111,7 +111,7 @@ import activite_pedagogique as activite_pedagogique
import tache_pedagogique as tache_pedagogique
import pole_activite_pedagogique as pole_activite_pedagogique
import competence_pedagogique as competence_pedagogique
-
+import bloc_competence as bloc_competence
import base_document_automatic_setup as base_document_automatic_setup
@@ -16157,6 +16157,136 @@ def Delete_Activite_From_competence_pedagogique():
+"""
+Cette API pour ajouter un bloc de compétence
+"""
+@app.route('/myclass/api/Add_bloc_competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_bloc_competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Add_bloc_competence payload = ",payload)
+ status, retval = bloc_competence.Add_bloc_competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+"""
+Cette API pour mettre à jour un bloc de compétence
+"""
+@app.route('/myclass/api/Update_bloc_competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Update_bloc_competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Update_bloc_competence payload = ",payload)
+ status, retval = bloc_competence.Update_bloc_competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+"""
+Cette API pour Recuperer la liste des un bloc de compétence d'un partenaire, sans filtres
+"""
+@app.route('/myclass/api/Get_bloc_competence_no_filter/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Get_bloc_competence_no_filter():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Get_bloc_competence_no_filter payload = ",payload)
+ status, retval = bloc_competence.Get_bloc_competence_no_filter(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+
+"""
+Cette API pour Recuperer les données d'une bloc de compétence donnée
+"""
+@app.route('/myclass/api/Get_Given_bloc_competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Get_Given_bloc_competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Get_Given_bloc_competence payload = ",payload)
+ status, retval = bloc_competence.Get_Given_bloc_competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+"""
+Cette API pour Suppression un bloc de compétence
+"""
+@app.route('/myclass/api/Delete_Given_bloc_competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Delete_Given_bloc_competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Delete_Given_bloc_competence payload = ",payload)
+ status, retval = bloc_competence.Delete_Given_bloc_competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+"""
+Cette API pour Ajouter un pole d'activité pédagogique d'un bloc de compétence
+"""
+@app.route('/myclass/api/Add_Update_tab_Pole_Activite_To_Bloc_Competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_Update_tab_Pole_Activite_To_Bloc_Competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Add_Update_tab_Pole_Activite_To_Bloc_Competence payload = ",payload)
+ status, retval = bloc_competence.Add_Update_tab_Pole_Activite_To_Bloc_Competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+"""
+Cette API pour Supprimer un pole d'activité pédagogique d'un bloc de compétence
+"""
+@app.route('/myclass/api/Delete_Pole_Activite_From_Bloc_Competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Delete_Pole_Activite_From_Bloc_Competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Delete_Pole_Activite_From_Bloc_Competence payload = ",payload)
+ status, retval = bloc_competence.Delete_Pole_Activite_From_Bloc_Competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+"""
+Cette API pour Ajouter une liste d'UE Ă un bloc de competence
+"""
+@app.route('/myclass/api/Add_Update_tab_UE_And_Competence_To_Bloc_Competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Add_Update_tab_UE_And_Competence_To_Bloc_Competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Add_Update_tab_UE_And_Competence_To_Bloc_Competence payload = ",payload)
+ status, retval = bloc_competence.Add_Update_tab_UE_And_Competence_To_Bloc_Competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+
+
+"""
+Cette API pour Supprimer une liste d'UE Ă un bloc de competence
+"""
+@app.route('/myclass/api/Delete_UE_From_Bloc_Competence/', methods=['POST','GET'])
+@crossdomain(origin='*')
+def Delete_UE_From_Bloc_Competence():
+ # On recupere le corps (payload) de la requete
+ payload = mycommon.strip_dictionary (request.form.to_dict())
+ print(" ### Delete_UE_From_Bloc_Competence payload = ",payload)
+ status, retval = bloc_competence.Delete_UE_From_Bloc_Competence(payload)
+ return jsonify(status=status, message=retval)
+
+
+
+
if __name__ == '__main__':
diff --git a/pole_activite_pedagogique.py b/pole_activite_pedagogique.py
index a1a9623..d44690a 100644
--- a/pole_activite_pedagogique.py
+++ b/pole_activite_pedagogique.py
@@ -403,7 +403,8 @@ def Get_Given_pole_activite_pedagogique(diction):
if( "tab_competence_activite_pedagogique" in New_retVal.keys() ):
for competence_activite_pedagogique_data in New_retVal['tab_competence_activite_pedagogique'] :
if( "competence_id" in competence_activite_pedagogique_data.keys() and
- "activite_pedagogique_id" in competence_activite_pedagogique_data.keys() ):
+ "activite_pedagogique_id" in competence_activite_pedagogique_data.keys() and
+ "mysy_single_field" in competence_activite_pedagogique_data.keys() ):
local_competence_data = MYSY_GV.dbname['competence_pedagogique'].find_one({'_id':ObjectId(str(competence_activite_pedagogique_data['competence_id'])),
'partner_owner_recid':str(my_partner['recid'])})
@@ -415,6 +416,7 @@ def Get_Given_pole_activite_pedagogique(diction):
local_node['id'] = str(cpt_local_competence)
cpt_local_competence = cpt_local_competence + 1
+ local_node['mysy_single_field'] = str(competence_activite_pedagogique_data['mysy_single_field'])
local_node['activite_pedagogique_id'] = str(local_activite_data['_id'])
local_node['activite_pedagogique_code'] = str(local_activite_data['code'])
local_node['activite_pedagogique_description'] = str(local_activite_data['description'])
@@ -763,6 +765,28 @@ def Delete_Activite_From_Pole_pedagogique(diction):
if( is_activite_existe_in_pole_activite == 1):
print(" OUII existe, donc update")
+
+ """
+ 1 - Supprimer aussi les compétences associées à cette activité dans ce bloc - collection : tab_competence_activite_pedagogique
+
+ """
+ update_1 = MYSY_GV.dbname['pole_activite_pedagogique'].update_one(
+ {'_id': ObjectId(str(diction['pole_activite_id'])),
+ 'valide': '1',
+ 'locked': '0',
+ 'partner_owner_recid': str(my_partner['recid']),
+ },
+ {'$pull': {"tab_competence_activite_pedagogique": {
+ "activite_pedagogique_id": str(activite_id)}}},
+
+ )
+
+
+
+
+ """
+ 2 - Supprimer l'activité du pole
+ """
update = MYSY_GV.dbname['pole_activite_pedagogique'].update_one({'_id': ObjectId(str(diction['pole_activite_id'])),
'valide': '1',
'locked':'0',
@@ -894,12 +918,17 @@ def Add_Update_Competence_To_Pole_pedagogique_And_Activite(diction):
Si la tache existe dans tab_tache_pedagogique, alors on fait un update,
si non on fait une insertion
"""
+
+ local_mysy_single_field = str(diction['activite_pedagogique_id'])+"_"+str(competence_id)
+
+
+
+
+
is_activite_existe_in_pole_activite = MYSY_GV.dbname['pole_activite_pedagogique'].count_documents({'_id': ObjectId(str(diction['pole_activite_id'])),
'valide': '1',
'partner_owner_recid': str(my_partner['recid']),
- 'tab_competence_activite_pedagogique.competence_id': str(competence_id),
- 'tab_competence_activite_pedagogique.activite_pedagogique_id': str(
- diction['activite_pedagogique_id'])
+ 'tab_competence_activite_pedagogique.mysy_single_field': str(local_mysy_single_field),
})
if( is_activite_existe_in_pole_activite == 1):
@@ -907,9 +936,7 @@ def Add_Update_Competence_To_Pole_pedagogique_And_Activite(diction):
update = MYSY_GV.dbname['pole_activite_pedagogique'].update_one({'_id': ObjectId(str(diction['pole_activite_id'])),
'valide': '1',
'partner_owner_recid': str(my_partner['recid']),
- 'tab_competence_activite_pedagogique.competence_id': str(competence_id),
- 'tab_activite_pedagogique.activite_pedagogique_id': str(
- diction['activite_pedagogique_id'])
+ 'tab_competence_activite_pedagogique.mysy_single_field': str(local_mysy_single_field),
},
{'$set':
{
@@ -918,8 +945,8 @@ def Add_Update_Competence_To_Pole_pedagogique_And_Activite(diction):
}
},
upsert=False,
- array_filters=[ {'$and': [{"xxx.competence_id": str(competence_id)},
- {"xxx.activite_pedagogique_id": str(diction['activite_pedagogique_id'])}]}
+ array_filters=[{"xxx.mysy_single_field": str(local_mysy_single_field)},
+
]
)
@@ -933,6 +960,7 @@ def Add_Update_Competence_To_Pole_pedagogique_And_Activite(diction):
new_data['creation_by'] = str(my_partner['_id'])
new_data['creation_date'] = str(datetime.now())
new_data['locked'] = "0"
+ new_data['mysy_single_field'] = str(local_mysy_single_field)
@@ -977,7 +1005,7 @@ def Delete_Competence_Activite_From_Pole_pedagogique_And_Activite(diction):
"""
Verification des input acceptés
"""
- field_list = ['token', 'pole_activite_id', 'activite_pedagogique_id', 'competence_id']
+ field_list = ['token', 'pole_activite_id', 'mysy_single_field']
incom_keys = diction.keys()
for val in incom_keys:
@@ -989,7 +1017,7 @@ def Delete_Competence_Activite_From_Pole_pedagogique_And_Activite(diction):
"""
Verification des champs obligatoires
"""
- field_list_obligatoire = ['token', 'pole_activite_id', 'activite_pedagogique_id', 'competence_id']
+ field_list_obligatoire = ['token', 'pole_activite_id', 'mysy_single_field']
for val in field_list_obligatoire:
if val not in diction:
@@ -1010,22 +1038,6 @@ def Delete_Competence_Activite_From_Pole_pedagogique_And_Activite(diction):
if (local_status is not True):
return local_status, my_partner
- """
- Verifier la validité de la compétence
- """
- is_valide_competence = MYSY_GV.dbname['competence_pedagogique'].count_documents(
- {'_id': ObjectId(diction['competence_id']),
- 'valide': '1',
- 'locked': '0',
- 'partner_owner_recid': str(
- my_partner['recid'])
- })
-
- if (is_valide_competence != 1):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " L'identifiant de la compétence est invalide ")
- return False, " L'identifiant de la compétence est invalide "
@@ -1044,55 +1056,23 @@ def Delete_Competence_Activite_From_Pole_pedagogique_And_Activite(diction):
return False, " L'identifiant du pÎle d'activité est invalide "
- is_valide_activite = MYSY_GV.dbname['activite_pedagogique'].count_documents({'_id':ObjectId(str(diction['activite_pedagogique_id'])),
- 'valide':'1',
- 'locked':'0',
- 'partner_owner_recid':str(my_partner['recid'])})
-
- if( is_valide_activite != 1):
- mycommon.myprint(
- str(inspect.stack()[0][
- 3]) + " L'identifiant de l'activité "+str(diction['tache_pedagogique_id'])+" est invalide ")
- return False, " L'identifiant de l'actvité "+str(diction['tache_pedagogique_id'])+" est invalide "
-
tab_tache_pedagogique = []
- tab_tache_pedagogique.append(str(diction['competence_id']))
+ tab_tache_pedagogique.append(str(diction['mysy_single_field']))
- for competence_id in tab_tache_pedagogique:
-
- """
- Si la tache existe dans tab_tache_pedagogique, alors on fait un update,
- si non on fait une insertion
- """
+ for local_mysy_single_field in tab_tache_pedagogique:
+ update = MYSY_GV.dbname['pole_activite_pedagogique'].update_one({'_id': ObjectId(str(diction['pole_activite_id'])),
+ 'valide': '1',
+ 'partner_owner_recid': str(my_partner['recid']),
+ 'tab_competence_activite_pedagogique.mysy_single_field': str(local_mysy_single_field),
+ },
+ {'$pull': {"tab_competence_activite_pedagogique": {"mysy_single_field": str(local_mysy_single_field),
+ }
+ } },
- is_activite_existe_in_pole_activite = MYSY_GV.dbname['pole_activite_pedagogique'].count_documents({'_id': ObjectId(str(diction['pole_activite_id'])),
- 'valide': '1',
- 'partner_owner_recid': str(my_partner['recid']),
- 'tab_competence_activite_pedagogique.competence_id': str(competence_id),
- 'tab_competence_activite_pedagogique.activite_pedagogique_id': str(
- diction['activite_pedagogique_id'])
- })
-
- if( is_activite_existe_in_pole_activite == 1):
- print(" OUII existe, donc update")
- print({'$pull': {"tab_competence_activite_pedagogique": [ {'$and': [ {"competence_id": str(competence_id) } ,
- {"activite_pedagogique_id": str(diction['activite_pedagogique_id'])
- } ] } ] } },)
- update = MYSY_GV.dbname['pole_activite_pedagogique'].update_one({'_id': ObjectId(str(diction['pole_activite_id'])),
- 'valide': '1',
- 'partner_owner_recid': str(my_partner['recid']),
- 'tab_competence_activite_pedagogique.competence_id': str(competence_id),
- 'tab_competence_activite_pedagogique.activite_pedagogique_id': str(diction['activite_pedagogique_id'])
- },
- {'$pull': {"tab_competence_activite_pedagogique": {"competence_id": str(competence_id),
- "activite_pedagogique_id": str(diction['activite_pedagogique_id']) }
- } },
-
-
- )
+ )