ryanxely commited on
Commit
2efb2b0
·
1 Parent(s): 7da7120

Uncommented dataset_service one more. Time for real kpi extraction...

Browse files
Files changed (1) hide show
  1. api/services/dataset_service.py +5 -5
api/services/dataset_service.py CHANGED
@@ -31,13 +31,13 @@ WORKING_DIR = DATA_PATH
31
 
32
  def extract_kpis():
33
 
34
- with open(MOCK_KPIS_PATH, "r", encoding="utf-8") as f:
35
- data = json.load(f)
36
 
37
- with open(KPIS_PATH, "w", encoding="utf-8") as f:
38
- json.dump(data, f, ensure_ascii=False, indent=2)
39
 
40
- return 0
41
 
42
  # Configuration globale des graphes matplotlib
43
  matplotlib.rcParams.update({
 
31
 
32
  def extract_kpis():
33
 
34
+ # with open(MOCK_KPIS_PATH, "r", encoding="utf-8") as f:
35
+ # data = json.load(f)
36
 
37
+ # with open(KPIS_PATH, "w", encoding="utf-8") as f:
38
+ # json.dump(data, f, ensure_ascii=False, indent=2)
39
 
40
+ # return 0
41
 
42
  # Configuration globale des graphes matplotlib
43
  matplotlib.rcParams.update({