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

@@ -5,7 +5,7 @@ from .exception.app_exception import PlateNoFormatException, VinLengthOrFormatEx
5
5
  from .utils import sanitize_plate_no
6
6
 
7
7
 
8
- def verify_and_sanitize_plate_no(value: str, is_require: bool = True):
8
+ def verify_and_sanitize_plate_no(value: str, is_require: bool = False):
9
9
  if is_require and not value:
10
10
  raise PlateNoFormatException()
11
11
 
@@ -15,7 +15,7 @@ def verify_and_sanitize_plate_no(value: str, is_require: bool = True):
15
15
  return sanitize_plate_no(value)
16
16
 
17
17
 
18
- def verify_vin(value: str, is_require: bool = True):
18
+ def verify_vin(value: str, is_require: bool = False):
19
19
  if is_require and not value:
20
20
  raise VinLengthOrFormatException()
21
21
 
@@ -24,7 +24,7 @@ def verify_vin(value: str, is_require: bool = True):
24
24
  raise VinLengthOrFormatException()
25
25
 
26
26
 
27
- def verify_phone(value: str, is_require: bool = True):
27
+ def verify_phone(value: str, is_require: bool = False):
28
28
  if is_require and not value:
29
29
  raise PhoneFormatException()
30
30
 
@@ -33,7 +33,7 @@ def verify_phone(value: str, is_require: bool = True):
33
33
  raise PhoneFormatException()
34
34
 
35
35
 
36
- def verify_date(value: str, is_require: bool = True):
36
+ def verify_date(value: str, is_require: bool = False):
37
37
  if is_require and not value:
38
38
  raise DateFormatException()
39
39
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: internal
3
- Version: 1.0.65
3
+ Version: 1.0.66
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -31,7 +31,7 @@ internal/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  internal/model/base_model.py,sha256=NS_GZvw_IqU1aZPHPpyQs6A741O34ybmzVzBPm9nGWU,3014
32
32
  internal/model/operate.py,sha256=QSM6yXYXpJMwrqkUGEWZLrEBaUgqHwVHY_Fi4S42hKc,3190
33
33
  internal/utils.py,sha256=CXYZs4rDDe33Zac27YeknBE4uQN437ys1YAbW3Xeyow,1517
34
- internal/validator_utils.py,sha256=VgBJ284pZGuuHxgkEcgwM3UfyUeb8rj-DghjU-5ENKY,1222
35
- internal-1.0.65.dist-info/METADATA,sha256=iFADHurJHC-A3jind3Vw9n1l66yjaTF1HMQVzUo1OpQ,625
36
- internal-1.0.65.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
37
- internal-1.0.65.dist-info/RECORD,,
34
+ internal/validator_utils.py,sha256=5ZLcNIgw1hvkYOj1f6gS9AYxe7Y3ufW9FyDxUS7FsMQ,1226
35
+ internal-1.0.66.dist-info/METADATA,sha256=DkC5LiavxT12Zrq_HY0M1I1SPCtfeBS-rX_XjRKurl0,625
36
+ internal-1.0.66.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
37
+ internal-1.0.66.dist-info/RECORD,,