lecrapaud 0.18.9__py3-none-any.whl → 0.18.10__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.
Potentially problematic release.
This version of lecrapaud might be problematic. Click here for more details.
- lecrapaud/db/session.py +1 -1
- {lecrapaud-0.18.9.dist-info → lecrapaud-0.18.10.dist-info}/METADATA +1 -1
- {lecrapaud-0.18.9.dist-info → lecrapaud-0.18.10.dist-info}/RECORD +5 -5
- {lecrapaud-0.18.9.dist-info → lecrapaud-0.18.10.dist-info}/LICENSE +0 -0
- {lecrapaud-0.18.9.dist-info → lecrapaud-0.18.10.dist-info}/WHEEL +0 -0
lecrapaud/db/session.py
CHANGED
|
@@ -12,6 +12,7 @@ from lecrapaud.config import DB_USER, DB_PASSWORD, DB_HOST, DB_PORT, DB_NAME, DB
|
|
|
12
12
|
|
|
13
13
|
_engine = None
|
|
14
14
|
_SessionLocal = None
|
|
15
|
+
|
|
15
16
|
if DB_URI:
|
|
16
17
|
if "mysql://" in DB_URI and "pymysql://" not in DB_URI:
|
|
17
18
|
DB_URI = DB_URI.replace("mysql://", "mysql+pymysql://")
|
|
@@ -72,7 +73,6 @@ def init_db(uri: str = None):
|
|
|
72
73
|
autocommit=False,
|
|
73
74
|
autoflush=False,
|
|
74
75
|
bind=_engine,
|
|
75
|
-
expire_on_commit=False, # Don't expire objects on commit
|
|
76
76
|
)
|
|
77
77
|
|
|
78
78
|
# Step 5: Apply Alembic migrations programmatically
|
|
@@ -23,7 +23,7 @@ lecrapaud/db/models/model_training.py,sha256=jAIYPdwBln2jf593soLQ730uYrTfNK8zdG8
|
|
|
23
23
|
lecrapaud/db/models/score.py,sha256=fSfXLt6Dm-8Fy9ku0urMT5Fa6zNqn4YqVnEO4o3zKVI,1669
|
|
24
24
|
lecrapaud/db/models/target.py,sha256=DKnfeaLU8eT8J_oh_vuFo5-o1CaoXR13xBbswme6Bgk,1649
|
|
25
25
|
lecrapaud/db/models/utils.py,sha256=-a-nWWmpJ2XzidIxo2COVUTrGZIPYCfBzjhcszJj_bM,1109
|
|
26
|
-
lecrapaud/db/session.py,sha256=
|
|
26
|
+
lecrapaud/db/session.py,sha256=87W5AkGRYu8b2rF5FNQ0MFC6wtGc-gGagNJQN_0vnDQ,3667
|
|
27
27
|
lecrapaud/directories.py,sha256=0LrANuDgbuneSLker60c6q2hmGnQ3mKHIztTGzTx6Gw,826
|
|
28
28
|
lecrapaud/experiment.py,sha256=1xLWjOrqAxJh9CdXOx9ppQuRFRRj0GH-xYZqg-ty9hI,2463
|
|
29
29
|
lecrapaud/feature_engineering.py,sha256=ib1afBrwqePiXUaw0Cpe6hY3VNl5afg8YVntb88SCT4,39199
|
|
@@ -40,7 +40,7 @@ lecrapaud/misc/test-gpu-transformers.ipynb,sha256=k6MBSs_Um1h4PykvE-LTBcdpbWLbIF
|
|
|
40
40
|
lecrapaud/model_selection.py,sha256=gP7Jo_JyI7YVKNk7VG5DjGcheUZsir1vNnTlTCM-R40,72480
|
|
41
41
|
lecrapaud/search_space.py,sha256=-JkzuMhaomdwiWi4HvVQY5hiw3-oREemJA16tbwEIp4,34854
|
|
42
42
|
lecrapaud/utils.py,sha256=ATKu9pbXjYFRa2YzBYjqyLHJrzfnZ7SJrOD_qAnEBYE,8242
|
|
43
|
-
lecrapaud-0.18.
|
|
44
|
-
lecrapaud-0.18.
|
|
45
|
-
lecrapaud-0.18.
|
|
46
|
-
lecrapaud-0.18.
|
|
43
|
+
lecrapaud-0.18.10.dist-info/LICENSE,sha256=MImCryu0AnqhJE_uAZD-PIDKXDKb8sT7v0i1NOYeHTM,11350
|
|
44
|
+
lecrapaud-0.18.10.dist-info/METADATA,sha256=sNtSCq48-BMA7lyHaddo0hdVe5_24969ZqD_Sb_6iIw,11082
|
|
45
|
+
lecrapaud-0.18.10.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
46
|
+
lecrapaud-0.18.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|