internal 1.0.22__py3-none-any.whl → 1.0.23__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.

Potentially problematic release.


This version of internal might be problematic. Click here for more details.

@@ -54,3 +54,12 @@ class PermissionDeniedException(InternalBaseException):
54
54
  def __init__(self, message: str = None, **kwargs):
55
55
  _message = message or self.message
56
56
  super().__init__(status.HTTP_403_FORBIDDEN, self.code, _message, **kwargs)
57
+
58
+
59
+ class CustomerValidationException(InternalBaseException):
60
+ code = "error_validation"
61
+ message = "Invalid parameter or incorrect format"
62
+
63
+ def __init__(self, message: str = None, **kwargs):
64
+ _message = message or self.message
65
+ super().__init__(status.HTTP_422_UNPROCESSABLE_ENTITY, self.code, _message, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: internal
3
- Version: 1.0.22
3
+ Version: 1.0.23
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -11,7 +11,7 @@ internal/const.py,sha256=U1S9r7bjtHgad2oYQoHO19s8D4V0WDUG-L-haV4UaIw,1025
11
11
  internal/database.py,sha256=atf0iyEqeG97eYr3s4GrTHKM5LjLiKlCNWiuAWoE2vs,2124
12
12
  internal/exception/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  internal/exception/base_exception.py,sha256=U0ZXx1FOXydAnQQImznkeAdsKVC_YaukPWvJdWqEBfg,363
14
- internal/exception/internal_exception.py,sha256=gAhlAJGR7HbGRFDKHzndH0riyhwpxICHS9fNBSr3Yso,1962
14
+ internal/exception/internal_exception.py,sha256=qGvmP0l6uVQVAVdOZh1RxN_Vf_wcxPf_4McL4IgCtbE,2299
15
15
  internal/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  internal/ext/amazon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  internal/ext/amazon/aws/__init__.py,sha256=2YFjb-rHG1JaZGZiZffYDesgTAJjDshOqQbswOYzhP8,834
@@ -27,6 +27,6 @@ internal/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  internal/model/base_model.py,sha256=wnAKz21bXcbR4QqENc1_hKbUkzc8a8aT8oyhS9WT7kw,3032
28
28
  internal/model/operate.py,sha256=luEoP_Asvso_11qz1SAE1Kn5KxAnDRptM0VylC5tNik,1493
29
29
  internal/utils.py,sha256=0SubS0iUhDvjSX1F4TykasA5-enYJzt2VH-f7_0BnjI,1509
30
- internal-1.0.22.dist-info/METADATA,sha256=tIm3JoQ8GMLOwXu14-Edppvrhg4_OYRI4b0MJyAyjJE,625
31
- internal-1.0.22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
- internal-1.0.22.dist-info/RECORD,,
30
+ internal-1.0.23.dist-info/METADATA,sha256=jakJGXVBUFO8w6Ht_ofDgKoMgjSKpqd1FuUuH8hPtEo,625
31
+ internal-1.0.23.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
+ internal-1.0.23.dist-info/RECORD,,