MEDfl 0.1.21__py3-none-any.whl → 0.1.22__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {Medfl-0.1.21.dist-info → Medfl-0.1.22.dist-info}/METADATA +1 -1
- {Medfl-0.1.21.dist-info → Medfl-0.1.22.dist-info}/RECORD +6 -6
- scripts/create_db.py +3 -4
- {Medfl-0.1.21.data → Medfl-0.1.22.data}/scripts/setup_mysql.sh +0 -0
- {Medfl-0.1.21.dist-info → Medfl-0.1.22.dist-info}/WHEEL +0 -0
- {Medfl-0.1.21.dist-info → Medfl-0.1.22.dist-info}/top_level.txt +0 -0
@@ -19,14 +19,14 @@ Medfl/NetManager/net_helper.py,sha256=VYJPVI65wo34X9GO9t1joNGPr3TutZdxfva-X6P3MS
|
|
19
19
|
Medfl/NetManager/net_manager_queries.py,sha256=2dfhba0iuh40kVoC7am-vC4Hlrvr-zfJ5ESymsI1Kps,4327
|
20
20
|
Medfl/NetManager/network.py,sha256=m6TOnzVCWOJME6fUUZ25ZpQedDeRn4O-tdE5HPVqOvw,5519
|
21
21
|
Medfl/NetManager/node.py,sha256=Mua63zKs865bSu3QKfLJx7pxYdEXpPxDSCMRhDYNhms,6475
|
22
|
-
Medfl-0.1.
|
22
|
+
Medfl-0.1.22.data/scripts/setup_mysql.sh,sha256=PXl271yvYBrXwrZ7P0tsYHnGkOubKvRaFee4MnzsSko,560
|
23
23
|
alembic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
24
24
|
alembic/env.py,sha256=a4zJAzPNLHnIrUlXCqf_8vuAlFu0pceFJJKM1PQaOI4,1649
|
25
25
|
scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26
26
|
scripts/base.py,sha256=B0KKbl9Czh4HhExmO41tdbI2-g1OyiW2ArYhLYgKNEw,778
|
27
27
|
scripts/config.ini,sha256=tDQQlpwZbCFQuSS017yjEiLglLihp6wETbWtNrSWeAA,82
|
28
|
-
scripts/create_db.py,sha256=
|
29
|
-
Medfl-0.1.
|
30
|
-
Medfl-0.1.
|
31
|
-
Medfl-0.1.
|
32
|
-
Medfl-0.1.
|
28
|
+
scripts/create_db.py,sha256=TyOEFTV5pXECAb15NDgn_-jQfIiHx15MpMnscorHl6o,4216
|
29
|
+
Medfl-0.1.22.dist-info/METADATA,sha256=l1gbhi4ApKwVZulM6xyc4weG7V0tR6kE7SHnQN8hYHc,5577
|
30
|
+
Medfl-0.1.22.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
31
|
+
Medfl-0.1.22.dist-info/top_level.txt,sha256=CmLt1TC7PJj-V55rhffMZ9LSOiuSaaEbz9FJm_zOw_E,22
|
32
|
+
Medfl-0.1.22.dist-info/RECORD,,
|
scripts/create_db.py
CHANGED
@@ -6,13 +6,12 @@ from mysql.connector import Error
|
|
6
6
|
from configparser import ConfigParser
|
7
7
|
import os
|
8
8
|
|
9
|
-
from Medfl.
|
9
|
+
from Medfl.LearningManager.utils import load_db_config
|
10
10
|
|
11
11
|
def main(csv_file_path):
|
12
12
|
try:
|
13
|
-
|
14
|
-
|
15
|
-
mysql_config = db_manager.get_connection()
|
13
|
+
|
14
|
+
mysql_config = load_db_config()
|
16
15
|
|
17
16
|
|
18
17
|
mydb = mysql.connector.connect(host=mysql_config['host'], user=mysql_config['user'], password=mysql_config['password'])
|
File without changes
|
File without changes
|
File without changes
|