arpakitlib 1.8.180__py3-none-any.whl → 1.8.181__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/business_service/exception.py +29 -0
- {arpakitlib-1.8.180.dist-info → arpakitlib-1.8.181.dist-info}/METADATA +1 -1
- {arpakitlib-1.8.180.dist-info → arpakitlib-1.8.181.dist-info}/RECORD +7 -6
- {arpakitlib-1.8.180.dist-info → arpakitlib-1.8.181.dist-info}/LICENSE +0 -0
- {arpakitlib-1.8.180.dist-info → arpakitlib-1.8.181.dist-info}/WHEEL +0 -0
- {arpakitlib-1.8.180.dist-info → arpakitlib-1.8.181.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
from typing import Any
|
2
|
+
|
3
|
+
|
4
|
+
class BaseBusinessServiceException(Exception):
|
5
|
+
def __init__(
|
6
|
+
self,
|
7
|
+
message: str,
|
8
|
+
*,
|
9
|
+
data: dict[str, Any] | None = None
|
10
|
+
):
|
11
|
+
self.message = message
|
12
|
+
if data is None:
|
13
|
+
data = None
|
14
|
+
self.data = data
|
15
|
+
|
16
|
+
def __str__(self):
|
17
|
+
parts = [
|
18
|
+
f"{self.__class__.__name__}"
|
19
|
+
]
|
20
|
+
if self.message is not None:
|
21
|
+
parts.append(f"{str(self.message)}")
|
22
|
+
return ', '.join(parts)
|
23
|
+
|
24
|
+
def __repr__(self):
|
25
|
+
return str(self)
|
26
|
+
|
27
|
+
|
28
|
+
class SimpleBSException(BaseBusinessServiceException):
|
29
|
+
pass
|
@@ -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=yGMimotzllVIiiiLwTg1r-mEIPPqcWN5ZK5kCkX9FHA,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
|
@@ -170,6 +170,7 @@ arpakitlib/_arpakit_project_template_v_5/project/api/schema/out/general/user_tok
|
|
170
170
|
arpakitlib/_arpakit_project_template_v_5/project/api/start_api.py,sha256=P5KMtYXujQUP2uAAKgUFyCxG99Fj2vfNf1ZEm8eFH80,532
|
171
171
|
arpakitlib/_arpakit_project_template_v_5/project/api/util.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
172
172
|
arpakitlib/_arpakit_project_template_v_5/project/business_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
|
+
arpakitlib/_arpakit_project_template_v_5/project/business_service/exception.py,sha256=HPs7trDBdXEb0B3LCzDIMJd1uSHPIWs7TI43ogWrONU,635
|
173
174
|
arpakitlib/_arpakit_project_template_v_5/project/business_service/hello_world.py,sha256=K0UcmwXuhUxHslOpwQ7h_igIFY4G63ekdhI2RwTWQbE,260
|
174
175
|
arpakitlib/_arpakit_project_template_v_5/project/business_service/remove_operations.py,sha256=E2F8xonPeZovKKOHv-XDmsQUHvks8A6R89PVhF_pAQI,1780
|
175
176
|
arpakitlib/_arpakit_project_template_v_5/project/celery_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -412,8 +413,8 @@ arpakitlib/ar_sqlalchemy_util.py,sha256=w_tGPTWIMVjHkTEYo9tVe1sfK_4vvfd3zGATLiYC
|
|
412
413
|
arpakitlib/ar_str_util.py,sha256=2lGpnXDf2h1cBZpVf5i1tX_HCv5iBd6IGnrCw4QWWlY,4350
|
413
414
|
arpakitlib/ar_type_util.py,sha256=Cs_tef-Fc5xeyAF54KgISCsP11NHyzIsglm4S3Xx7iM,4049
|
414
415
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
|
415
|
-
arpakitlib-1.8.
|
416
|
-
arpakitlib-1.8.
|
417
|
-
arpakitlib-1.8.
|
418
|
-
arpakitlib-1.8.
|
419
|
-
arpakitlib-1.8.
|
416
|
+
arpakitlib-1.8.181.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
417
|
+
arpakitlib-1.8.181.dist-info/METADATA,sha256=6qSFkIGWOi8Hk8IZWHgyYOokdb-kSvLxQf9UU6Psi2A,3741
|
418
|
+
arpakitlib-1.8.181.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
419
|
+
arpakitlib-1.8.181.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
420
|
+
arpakitlib-1.8.181.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|