From 38c1c93a4fbad7c8751c33a2670cedea3c498fb6 Mon Sep 17 00:00:00 2001
From: Sun Jin Kim <sk2521@ic.ac.uk>
Date: Mon, 25 Apr 2022 18:25:26 +0100
Subject: [PATCH] try connect parser with react_app

---
 backend_react/react_app.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/backend_react/react_app.py b/backend_react/react_app.py
index 3988778e..96da6947 100644
--- a/backend_react/react_app.py
+++ b/backend_react/react_app.py
@@ -103,6 +103,16 @@ def get_form_data():
     current_app.config['data'] = data
     
     print('@@@ all data sent', current_app.config['data'])
+
+    # try this if you want it might work, it might not
+    # wapp_util.parse_users_learner_spec(
+    #                         num_policies,
+    #                         num_sub_policies,
+    #                         early_stop_num,
+    #                         max_epochs,
+    #                         **data,
+    #                         )
+
     return {'data': 'all stored'}
 
 
-- 
GitLab