arpakitlib 1.7.237__py3-none-any.whl → 1.7.238__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.
- arpakitlib/_arpakit_project_template/src/db/_drop_sqlalchemy_db.py +13 -0
- {arpakitlib-1.7.237.dist-info → arpakitlib-1.7.238.dist-info}/METADATA +1 -1
- {arpakitlib-1.7.237.dist-info → arpakitlib-1.7.238.dist-info}/RECORD +6 -5
- {arpakitlib-1.7.237.dist-info → arpakitlib-1.7.238.dist-info}/LICENSE +0 -0
- {arpakitlib-1.7.237.dist-info → arpakitlib-1.7.238.dist-info}/WHEEL +0 -0
- {arpakitlib-1.7.237.dist-info → arpakitlib-1.7.238.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
from src.core.settings import get_cached_settings
|
2
|
+
from src.core.util import setup_logging
|
3
|
+
from src.db.util import get_cached_sqlalchemy_db
|
4
|
+
|
5
|
+
|
6
|
+
def _reinit_sqlalchemy_db():
|
7
|
+
setup_logging()
|
8
|
+
get_cached_settings().raise_if_mode_type_prod()
|
9
|
+
get_cached_sqlalchemy_db().drop()
|
10
|
+
|
11
|
+
|
12
|
+
if __name__ == '__main__':
|
13
|
+
_reinit_sqlalchemy_db()
|
@@ -93,6 +93,7 @@ arpakitlib/_arpakit_project_template/src/core/settings.py,sha256=a_HfbAkl0hUbDJH
|
|
93
93
|
arpakitlib/_arpakit_project_template/src/core/util.py,sha256=mcikqcjljZa2qhYeoR1tR9JUSprrVSod8XcIK_PqS6o,1547
|
94
94
|
arpakitlib/_arpakit_project_template/src/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
95
95
|
arpakitlib/_arpakit_project_template/src/db/_check_conn_sqlalchemy_db.py,sha256=GPK7-w7x8ESqbZ0v1nI8m_ysWfnmjgRwyyh6kM8vYBQ,249
|
96
|
+
arpakitlib/_arpakit_project_template/src/db/_drop_sqlalchemy_db.py,sha256=N_W3Jk_kPzMDhiv7INGYvpC6iVNPdzvgbLFUDtY5FwY,337
|
96
97
|
arpakitlib/_arpakit_project_template/src/db/_init_sqlalchemy_db.py,sha256=tHJ1NBUAR-9uAktx2RfPikzGGguhwEWfrWdj1y0XV-w,231
|
97
98
|
arpakitlib/_arpakit_project_template/src/db/_reinit_sqlalchemy_db.py,sha256=_4O_xr6FXt3qcWOmO82CKG3XX6_RqbqaOYSEygxpBfA,339
|
98
99
|
arpakitlib/_arpakit_project_template/src/db/const.py,sha256=dcvj5C9E2F2KCsGZPBBncQf_EvVJAC1qQgnyD8P4ZEw,6
|
@@ -201,8 +202,8 @@ arpakitlib/ar_str_util.py,sha256=yU5gOwNXUQaH5b_tM5t6fXUn9oUcv5EQbVnq2wXXIpQ,337
|
|
201
202
|
arpakitlib/ar_type_util.py,sha256=9C3ErtUVs0tAUqtK-foFzjJOykfBOntfCz2IogDOgfA,4134
|
202
203
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
|
203
204
|
arpakitlib/ar_zabbix_api_client_util.py,sha256=Q-VR4MvoZ9aHwZeYZr9G3LwN-ANx1T5KFmF6pvPM-9M,6402
|
204
|
-
arpakitlib-1.7.
|
205
|
-
arpakitlib-1.7.
|
206
|
-
arpakitlib-1.7.
|
207
|
-
arpakitlib-1.7.
|
208
|
-
arpakitlib-1.7.
|
205
|
+
arpakitlib-1.7.238.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
206
|
+
arpakitlib-1.7.238.dist-info/METADATA,sha256=H5jtmANbDYzXHQ94DVwAYTt7hDqXHexO4H943NwGNQI,3310
|
207
|
+
arpakitlib-1.7.238.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
208
|
+
arpakitlib-1.7.238.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
209
|
+
arpakitlib-1.7.238.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|