checkmate5 4.1.0.dev28__py3-none-any.whl → 4.1.0.dev29__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 +1 -7
- {checkmate5-4.1.0.dev28.dist-info → checkmate5-4.1.0.dev29.dist-info}/METADATA +1 -1
- {checkmate5-4.1.0.dev28.dist-info → checkmate5-4.1.0.dev29.dist-info}/RECORD +7 -7
- {checkmate5-4.1.0.dev28.dist-info → checkmate5-4.1.0.dev29.dist-info}/LICENSE.txt +0 -0
- {checkmate5-4.1.0.dev28.dist-info → checkmate5-4.1.0.dev29.dist-info}/WHEEL +0 -0
- {checkmate5-4.1.0.dev28.dist-info → checkmate5-4.1.0.dev29.dist-info}/entry_points.txt +0 -0
- {checkmate5-4.1.0.dev28.dist-info → checkmate5-4.1.0.dev29.dist-info}/top_level.txt +0 -0
checkmate/management/helpers.py
CHANGED
|
@@ -81,7 +81,7 @@ def get_project_and_backend(path, settings, echo=False, initialize_db=True):
|
|
|
81
81
|
project = get_project(project_path, project_config, settings, backend)
|
|
82
82
|
return project, backend
|
|
83
83
|
|
|
84
|
-
def get_backend(project_path, project_config, settings, echo=False
|
|
84
|
+
def get_backend(project_path, project_config, settings, echo=False):
|
|
85
85
|
"""Return the appropriate backend instance based on the project configuration and settings."""
|
|
86
86
|
backend_config = project_config.get('backend', {})
|
|
87
87
|
backend_type = backend_config.get('driver')
|
|
@@ -100,12 +100,6 @@ def get_backend(project_path, project_config, settings, echo=False, initialize_d
|
|
|
100
100
|
else:
|
|
101
101
|
raise ValueError("Unsupported backend type specified.")
|
|
102
102
|
|
|
103
|
-
if initialize_db:
|
|
104
|
-
try:
|
|
105
|
-
backend.create_tables()
|
|
106
|
-
except SQLAlchemyError as e:
|
|
107
|
-
print(f"Error initializing database: {e}")
|
|
108
|
-
|
|
109
103
|
return backend
|
|
110
104
|
|
|
111
105
|
def get_project(project_path, project_config, settings, backend):
|
|
@@ -83,7 +83,7 @@ checkmate/lib/stats/helpers.py,sha256=X21Pb7dz3PWubDRoqUjbxwonl43TRxqKEcwyM80tS6
|
|
|
83
83
|
checkmate/lib/stats/mapreduce.py,sha256=rGdA_HninEZSeowtBn5R02c6wyT5dxcu-0T2ftlMnY0,782
|
|
84
84
|
checkmate/management/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
85
85
|
checkmate/management/decorators.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
86
|
-
checkmate/management/helpers.py,sha256=
|
|
86
|
+
checkmate/management/helpers.py,sha256=Imv9axkave11l7tV9-xEzqDtFY2nmLWgRdeE6NtxGho,4633
|
|
87
87
|
checkmate/management/commands/__init__.py,sha256=XAi0y8z1NviyGvLB68Oxnzr6Nw5AP8xgbcSSnc1Zcvw,766
|
|
88
88
|
checkmate/management/commands/alembic.py,sha256=DTWH8hcY6UmWDo0wMwcID_wQIa-es7nyJHV6p1_T4FQ,718
|
|
89
89
|
checkmate/management/commands/analyze.py,sha256=J1rawVEGjbrXT9ArfUVpfoLNs2JaFkV4mCrBnEIrXaw,1159
|
|
@@ -111,9 +111,9 @@ checkmate/scripts/manage.py,sha256=mpioBaxzirAKXZtbxO-y4dbOcc6UoP0MaAMsNuKHbz0,4
|
|
|
111
111
|
checkmate/settings/__init__.py,sha256=z32hPz-kGS-tTGa6dWCFjrrrbS_eagLd-YrqBP3gjWI,33
|
|
112
112
|
checkmate/settings/base.py,sha256=3WBXZITqoWepIja96bo5JTi-TDpQALPTCugL0E8z-yE,4551
|
|
113
113
|
checkmate/settings/defaults.py,sha256=uK1KB50ukDbk2rACyiCQuXTNSr2M7GXE-2_GTFupbv0,2728
|
|
114
|
-
checkmate5-4.1.0.
|
|
115
|
-
checkmate5-4.1.0.
|
|
116
|
-
checkmate5-4.1.0.
|
|
117
|
-
checkmate5-4.1.0.
|
|
118
|
-
checkmate5-4.1.0.
|
|
119
|
-
checkmate5-4.1.0.
|
|
114
|
+
checkmate5-4.1.0.dev29.dist-info/LICENSE.txt,sha256=SGQTFjJQjkYGoK1PCFfMKpfgRLm3yL0h9Mq2o26sm2E,151451
|
|
115
|
+
checkmate5-4.1.0.dev29.dist-info/METADATA,sha256=1HtFusMpBqXkdkKCX5BYVcD1VT4qvVYMX-tKnt7usu4,1240
|
|
116
|
+
checkmate5-4.1.0.dev29.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
117
|
+
checkmate5-4.1.0.dev29.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
|
|
118
|
+
checkmate5-4.1.0.dev29.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
|
|
119
|
+
checkmate5-4.1.0.dev29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|