holado 0.9.2__py3-none-any.whl → 0.9.3__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 holado might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: holado
3
- Version: 0.9.2
3
+ Version: 0.9.3
4
4
  Summary: HolAdo framework
5
5
  Project-URL: Homepage, https://gitlab.com/holado_framework/python
6
6
  Project-URL: Issues, https://gitlab.com/holado_framework/python/-/issues
@@ -334,7 +334,7 @@ holado_protobuf/ipc/protobuf/protobuf_modifier.py,sha256=TZUfUYJd2nPoDYw3GXaGy5G
334
334
  holado_protobuf/ipc/protobuf/abstracts/type.py,sha256=xr6CvHTJJQBDKtpPdOlUJyWjdjbHsm5uPHa3eOZlvLQ,2234
335
335
  holado_protobuf/ipc/protobuf/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
336
336
  holado_protobuf/ipc/protobuf/types/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
- holado_protobuf/ipc/protobuf/types/google/protobuf.py,sha256=8vlpyreY0pzt-rUZTI0bDmkyH91_oFiAwQvmZPvBaQs,5331
337
+ holado_protobuf/ipc/protobuf/types/google/protobuf.py,sha256=kuh8h-U1WaiFvmZp5XK9kCjSRDiumRnYDg8j9St473Y,5499
338
338
  holado_protobuf/tests/behave/steps/__init__.py,sha256=y2cb2NXe15g8sBts6vB3SicDEUy7XvY0bZbhUiY7Qnk,1280
339
339
  holado_protobuf/tests/behave/steps/ipc/protobuf_steps.py,sha256=Pbw5E-AbTTSKR_i_JXxSkq922F2oFML3rsCF8ILSqXA,17136
340
340
  holado_python/__init__.py,sha256=DuWuDU7MxVsAOz1G6TiYRRsIhApFWMNNwA8Xwp0LhtU,1658
@@ -670,7 +670,7 @@ test_holado/tools/django/api_rest/api_rest/api1/serializers.py,sha256=o_YxFr-tgC
670
670
  test_holado/tools/django/api_rest/api_rest/api1/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
671
671
  test_holado/tools/django/api_rest/api_rest/api1/views.py,sha256=kOt2xT6bxO47_z__5yYR9kcYIWWv4qYzpX0K8Tqonik,758
672
672
  test_holado/tools/django/api_rest/api_rest/api1/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
673
- holado-0.9.2.dist-info/METADATA,sha256=vA1oSCS6qTSa1UE3CREU1Y6T4gbutfdPrHVpFJy3ANA,7671
674
- holado-0.9.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
675
- holado-0.9.2.dist-info/licenses/LICENSE,sha256=IgGmNlcFHnbp7UWrLJqAFvs_HIgjJDTmjCNRircJLsk,1070
676
- holado-0.9.2.dist-info/RECORD,,
673
+ holado-0.9.3.dist-info/METADATA,sha256=W_XfLvh8aSgsFRRoREiihdApcOhYXEIiJ06opmCdOv8,7671
674
+ holado-0.9.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
675
+ holado-0.9.3.dist-info/licenses/LICENSE,sha256=IgGmNlcFHnbp7UWrLJqAFvs_HIgjJDTmjCNRircJLsk,1070
676
+ holado-0.9.3.dist-info/RECORD,,
@@ -48,12 +48,12 @@ class Duration(Type):
48
48
  obj.FromJsonString(value)
49
49
  else:
50
50
  if raise_exception:
51
- raise FunctionalException("For Duration objects, the value must be in a string format '-?\\d+(?:.\\d+)?s' (ex: '1s', '1.01s', '1.0000001s', '-3.100s')")
51
+ raise FunctionalException(f"For Duration objects, the value must be in a string format '-?\\d+(?:.\\d+)?s' (ex: '1s', '1.01s', '1.0000001s', '-3.100s'). Got value: [{value}] (type: {Typing.get_object_class_fullname(value)})")
52
52
  else:
53
53
  return False
54
54
  else:
55
55
  if raise_exception:
56
- raise FunctionalException(f"For Duration objects, the value must be a timedelta, an int or a string (got value type '{Typing.get_object_class_fullname(value)}')")
56
+ raise FunctionalException(f"For Duration objects, the value must be a timedelta, an int or a string. Got value: [{value}] (type: {Typing.get_object_class_fullname(value)})")
57
57
  else:
58
58
  return False
59
59
  return True
@@ -79,7 +79,7 @@ class Message(Type):
79
79
  json_format.ParseDict(value, obj)
80
80
  else:
81
81
  if raise_exception:
82
- raise FunctionalException(f"For Message objects, the value must be None or a {cls.protobuf_class()} (got value type '{Typing.get_object_class_fullname(value)}')")
82
+ raise FunctionalException(f"For Message objects, the value must be None or a {cls.protobuf_class()}. Got value of type {Typing.get_object_class_fullname(value)}")
83
83
  else:
84
84
  return False
85
85
  return True
@@ -108,12 +108,12 @@ class Timestamp(Type):
108
108
  obj.FromDatetime(dt)
109
109
  else:
110
110
  if raise_exception:
111
- raise FunctionalException("For Timestamp objects, the value must be in a string format like '2022-01-01T01:00:00Z' or '2022-01-01 01:00:00'")
111
+ raise FunctionalException(f"For Timestamp objects, the value must be in a string format like '2022-01-01T01:00:00Z' or '2022-01-01 01:00:00'. Got value: [{value}] (type: {Typing.get_object_class_fullname(value)})")
112
112
  else:
113
113
  return False
114
114
  else:
115
115
  if raise_exception:
116
- raise FunctionalException(f"For Timestamp objects, the value must be a datetime or a string (got value type '{Typing.get_object_class_fullname(value)}')")
116
+ raise FunctionalException(f"For Timestamp objects, the value must be a datetime or a string. Got value: [{value}] (type: {Typing.get_object_class_fullname(value)})")
117
117
  else:
118
118
  return False
119
119
  return True
File without changes