checkmate5 4.0.88__py3-none-any.whl → 4.0.90__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.
- checkmate/management/helpers.py +3 -3
- {checkmate5-4.0.88.dist-info → checkmate5-4.0.90.dist-info}/METADATA +1 -1
- {checkmate5-4.0.88.dist-info → checkmate5-4.0.90.dist-info}/RECORD +7 -7
- {checkmate5-4.0.88.dist-info → checkmate5-4.0.90.dist-info}/LICENSE.txt +0 -0
- {checkmate5-4.0.88.dist-info → checkmate5-4.0.90.dist-info}/WHEEL +0 -0
- {checkmate5-4.0.88.dist-info → checkmate5-4.0.90.dist-info}/entry_points.txt +0 -0
- {checkmate5-4.0.88.dist-info → checkmate5-4.0.90.dist-info}/top_level.txt +0 -0
checkmate/management/helpers.py
CHANGED
|
@@ -9,7 +9,7 @@ from functools import reduce
|
|
|
9
9
|
import argparse
|
|
10
10
|
from sqlalchemy import create_engine, MetaData, Table, Column, Integer, String
|
|
11
11
|
from sqlalchemy.exc import SQLAlchemyError
|
|
12
|
-
from
|
|
12
|
+
from ..lib.models import Backend
|
|
13
13
|
|
|
14
14
|
def get_project_path(path=None):
|
|
15
15
|
if not path:
|
|
@@ -91,12 +91,12 @@ def get_backend(project_path, project_config, settings, echo=False, initialize_d
|
|
|
91
91
|
if not connection_string:
|
|
92
92
|
raise ValueError("Connection string is required for the 'sql' backend.")
|
|
93
93
|
engine = create_engine(connection_string)
|
|
94
|
-
backend =
|
|
94
|
+
backend = Backend(engine)
|
|
95
95
|
elif backend_type == "sqlite":
|
|
96
96
|
if not connection_string:
|
|
97
97
|
connection_string = f"sqlite:///{project_path}/database.db"
|
|
98
98
|
engine = create_engine(connection_string, echo=echo)
|
|
99
|
-
backend =
|
|
99
|
+
backend = Backend(engine)
|
|
100
100
|
else:
|
|
101
101
|
raise ValueError("Unsupported backend type specified.")
|
|
102
102
|
|
|
@@ -81,7 +81,7 @@ checkmate/lib/stats/helpers.py,sha256=X21Pb7dz3PWubDRoqUjbxwonl43TRxqKEcwyM80tS6
|
|
|
81
81
|
checkmate/lib/stats/mapreduce.py,sha256=rGdA_HninEZSeowtBn5R02c6wyT5dxcu-0T2ftlMnY0,782
|
|
82
82
|
checkmate/management/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
83
83
|
checkmate/management/decorators.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
84
|
-
checkmate/management/helpers.py,sha256=
|
|
84
|
+
checkmate/management/helpers.py,sha256=GxgjxKcQnyTkPEnwapj37GB9ZJ4G4dfefX4XvMZtp74,5402
|
|
85
85
|
checkmate/management/commands/__init__.py,sha256=XAi0y8z1NviyGvLB68Oxnzr6Nw5AP8xgbcSSnc1Zcvw,766
|
|
86
86
|
checkmate/management/commands/alembic.py,sha256=DTWH8hcY6UmWDo0wMwcID_wQIa-es7nyJHV6p1_T4FQ,718
|
|
87
87
|
checkmate/management/commands/analyze.py,sha256=J1rawVEGjbrXT9ArfUVpfoLNs2JaFkV4mCrBnEIrXaw,1159
|
|
@@ -109,9 +109,9 @@ checkmate/scripts/manage.py,sha256=mpioBaxzirAKXZtbxO-y4dbOcc6UoP0MaAMsNuKHbz0,4
|
|
|
109
109
|
checkmate/settings/__init__.py,sha256=z32hPz-kGS-tTGa6dWCFjrrrbS_eagLd-YrqBP3gjWI,33
|
|
110
110
|
checkmate/settings/base.py,sha256=3WBXZITqoWepIja96bo5JTi-TDpQALPTCugL0E8z-yE,4551
|
|
111
111
|
checkmate/settings/defaults.py,sha256=HJoZIin2BHT_gBCngGZNh7WgSNLqIDTK--iW7hXez4Q,5084
|
|
112
|
-
checkmate5-4.0.
|
|
113
|
-
checkmate5-4.0.
|
|
114
|
-
checkmate5-4.0.
|
|
115
|
-
checkmate5-4.0.
|
|
116
|
-
checkmate5-4.0.
|
|
117
|
-
checkmate5-4.0.
|
|
112
|
+
checkmate5-4.0.90.dist-info/LICENSE.txt,sha256=9cSf5btiPmglu3yzhXkXcf7GNT8XC9o7Y54tfhvfDp8,213739
|
|
113
|
+
checkmate5-4.0.90.dist-info/METADATA,sha256=MJPNsOkXlBG8_6rdyk2oZZNRx2t3xBRpmszZPWnQN7c,1234
|
|
114
|
+
checkmate5-4.0.90.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
115
|
+
checkmate5-4.0.90.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
|
|
116
|
+
checkmate5-4.0.90.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
|
|
117
|
+
checkmate5-4.0.90.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|