arpakitlib 1.8.168__py3-none-any.whl → 1.8.169__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_v_5/arpakitlib_project_template_info.json +1 -1
- arpakitlib/_arpakit_project_template_v_5/project/api/exception.py +4 -2
- arpakitlib/_arpakit_project_template_v_5/project/api/exception_handler.py +1 -1
- {arpakitlib-1.8.168.dist-info → arpakitlib-1.8.169.dist-info}/METADATA +1 -1
- {arpakitlib-1.8.168.dist-info → arpakitlib-1.8.169.dist-info}/RECORD +8 -8
- {arpakitlib-1.8.168.dist-info → arpakitlib-1.8.169.dist-info}/LICENSE +0 -0
- {arpakitlib-1.8.168.dist-info → arpakitlib-1.8.169.dist-info}/WHEEL +0 -0
- {arpakitlib-1.8.168.dist-info → arpakitlib-1.8.169.dist-info}/entry_points.txt +0 -0
@@ -15,7 +15,7 @@ class APIException(fastapi.exceptions.HTTPException):
|
|
15
15
|
error_specification_code: str | None = None,
|
16
16
|
error_description: str | None = None,
|
17
17
|
error_data: dict[str, Any] | None = None,
|
18
|
-
|
18
|
+
kwargs_: dict[str, Any] | None = None
|
19
19
|
):
|
20
20
|
self.status_code = status_code
|
21
21
|
self.error_code = error_code
|
@@ -24,7 +24,9 @@ class APIException(fastapi.exceptions.HTTPException):
|
|
24
24
|
if error_data is None:
|
25
25
|
error_data = {}
|
26
26
|
self.error_data = error_data
|
27
|
-
|
27
|
+
if kwargs_ is None:
|
28
|
+
kwargs_ = None
|
29
|
+
self.kwargs_ = kwargs_
|
28
30
|
|
29
31
|
self.error_common_so = ErrorCommonSO(
|
30
32
|
has_error=True,
|
@@ -210,7 +210,7 @@ def create_story_log_func_before_in_api_exception_handler(
|
|
210
210
|
return
|
211
211
|
|
212
212
|
if isinstance(exception, APIException):
|
213
|
-
if
|
213
|
+
if exception.kwargs_.get("create_story_log") is False:
|
214
214
|
return
|
215
215
|
|
216
216
|
async with get_cached_sqlalchemy_db().new_async_session() as session:
|
@@ -8,7 +8,7 @@ arpakitlib/_arpakit_project_template_v_5/alembic/env.py,sha256=Qesmnj5A2kB-Doeuf
|
|
8
8
|
arpakitlib/_arpakit_project_template_v_5/alembic/script.py.mako,sha256=MEqL-2qATlST9TAOeYgscMn1uy6HUS9NFvDgl93dMj8,635
|
9
9
|
arpakitlib/_arpakit_project_template_v_5/alembic/versions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
arpakitlib/_arpakit_project_template_v_5/alembic.ini,sha256=8fuyeEvGBiPGbxEFy8ISBV3xX_fgVmuhEGpB10_B5Uo,3733
|
11
|
-
arpakitlib/_arpakit_project_template_v_5/arpakitlib_project_template_info.json,sha256=
|
11
|
+
arpakitlib/_arpakit_project_template_v_5/arpakitlib_project_template_info.json,sha256=IhpcxhRkTQMapnOub0eswSfndD0P8cGOxnJPPFRnou8,98
|
12
12
|
arpakitlib/_arpakit_project_template_v_5/command/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
arpakitlib/_arpakit_project_template_v_5/command/alembic_history.sh,sha256=OMnDNtHIksGh9iavWnzbtxcudZW4vjdcISsBXvzZSPw,22
|
14
14
|
arpakitlib/_arpakit_project_template_v_5/command/alembic_revision_autogenerate.sh,sha256=yW2i-SBOtBx15Ya0poVQqKkJM5t2JZp06r9AEW-DmGE,46
|
@@ -92,8 +92,8 @@ arpakitlib/_arpakit_project_template_v_5/project/api/const.py,sha256=J9bqaRRiIc3
|
|
92
92
|
arpakitlib/_arpakit_project_template_v_5/project/api/create_api_app.py,sha256=R9NJXGss1oO-T1ztInFetQ8SoqIXsV5UyKelU7R2-og,2913
|
93
93
|
arpakitlib/_arpakit_project_template_v_5/project/api/create_first_data.py,sha256=sc98-xW74QbhFCT6AW5-fUJVd8RLRxClAOEW5-ec9T0,1815
|
94
94
|
arpakitlib/_arpakit_project_template_v_5/project/api/event.py,sha256=P8gV2Bq6LeLH0JDN9Z3O401PMbyNr2n-tme2gPvT-m4,996
|
95
|
-
arpakitlib/_arpakit_project_template_v_5/project/api/exception.py,sha256=
|
96
|
-
arpakitlib/_arpakit_project_template_v_5/project/api/exception_handler.py,sha256=
|
95
|
+
arpakitlib/_arpakit_project_template_v_5/project/api/exception.py,sha256=DubhdZtgR6tXG6EEhAMxuEut8IRgGOGsQi5LGELpaE0,1417
|
96
|
+
arpakitlib/_arpakit_project_template_v_5/project/api/exception_handler.py,sha256=LvEz5zHE_yKeVO42hKD4jM6ssnxNSLv28ppWZELQ4is,11405
|
97
97
|
arpakitlib/_arpakit_project_template_v_5/project/api/openapi_ui.py,sha256=PLhH-W6zDViO-75AGCs8Vq3IoyHChdqwBYAqLvdQN0U,904
|
98
98
|
arpakitlib/_arpakit_project_template_v_5/project/api/response.py,sha256=xZMymP2BuQaRNVWLeIp3UgUUo-MFN8MJnsn9Al4vOb8,1028
|
99
99
|
arpakitlib/_arpakit_project_template_v_5/project/api/router/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -408,8 +408,8 @@ arpakitlib/ar_ssh_runner_util.py,sha256=yvAwza480MkHKvLkDEsR7JNh2bYNs6P9rCVo4NA8
|
|
408
408
|
arpakitlib/ar_str_util.py,sha256=2lGpnXDf2h1cBZpVf5i1tX_HCv5iBd6IGnrCw4QWWlY,4350
|
409
409
|
arpakitlib/ar_type_util.py,sha256=Cs_tef-Fc5xeyAF54KgISCsP11NHyzIsglm4S3Xx7iM,4049
|
410
410
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
|
411
|
-
arpakitlib-1.8.
|
412
|
-
arpakitlib-1.8.
|
413
|
-
arpakitlib-1.8.
|
414
|
-
arpakitlib-1.8.
|
415
|
-
arpakitlib-1.8.
|
411
|
+
arpakitlib-1.8.169.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
412
|
+
arpakitlib-1.8.169.dist-info/METADATA,sha256=vsV5QWiPQHUIY0oWlJXo3Y40VbV4phIcoAwwrmlgERk,3706
|
413
|
+
arpakitlib-1.8.169.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
414
|
+
arpakitlib-1.8.169.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
415
|
+
arpakitlib-1.8.169.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|