amsdal_utils 0.5.5__py3-none-any.whl → 0.5.6__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.
amsdal_utils/__about__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2023-present
2
2
  #
3
3
  # SPDX-License-Identifier: AMSDAL End User License Agreement
4
- __version__ = '0.5.5'
4
+ __version__ = '0.5.6'
@@ -129,7 +129,7 @@ def process_any_of(data: dict[str, Any], info: ValidationInfo) -> dict[str, Any]
129
129
  definition.update(data)
130
130
  data = definition
131
131
 
132
- elif 'additionalProperties' in _any_of_element:
132
+ elif 'additionalProperties' in _any_of_element and isinstance(_any_of_element['additionalProperties'], dict):
133
133
  _add_props = _any_of_element.pop('additionalProperties')
134
134
 
135
135
  if 'anyOf' in _add_props:
@@ -51,7 +51,7 @@ class PropertyData(TypeData, extra='allow'):
51
51
  data.pop('$ref')
52
52
  data.update(_def)
53
53
 
54
- if 'additionalProperties' in data:
54
+ if 'additionalProperties' in data and isinstance(data['additionalProperties'], dict):
55
55
  _add_props = data.pop('additionalProperties')
56
56
 
57
57
  if 'anyOf' in _add_props:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_utils
3
- Version: 0.5.5
3
+ Version: 0.5.6
4
4
  Summary: Utils for AMSDAL data framework
5
5
  Project-URL: Documentation, https://pypi.org/project/amsdal_utils/#readme
6
6
  Project-URL: Issues, https://pypi.org/project/amsdal_utils/#issues
@@ -1,5 +1,5 @@
1
1
  amsdal_utils/Third-Party Materials - AMSDAL Dependencies - License Notices.md,sha256=blZRsT9Qg4u4LzZuxlWQOzlWGpLAg7DugWS6nz7s_yw,62595
2
- amsdal_utils/__about__.py,sha256=EPO0yn5_cRRN4L7o2A8njb26ZvPG7OJ4hIGTxQSuB6o,124
2
+ amsdal_utils/__about__.py,sha256=FVhogeUXIvF04uzQhGOvAB-kHp5Toh3bylNItK77X40,124
3
3
  amsdal_utils/__init__.py,sha256=EQCJ5OevmkkIpIULumPNIbWk3UI7afDfRzIsZN5mfwg,73
4
4
  amsdal_utils/errors.py,sha256=P90oGdKczHZzHukWnzJfbsSxMC-Sc8dUXvHzP7b1IIA,129
5
5
  amsdal_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -25,7 +25,7 @@ amsdal_utils/models/base.py,sha256=jcY7ZE6n0lANGjg87sEwlz6val_8ZRHWaCmNZo9Oxnc,1
25
25
  amsdal_utils/models/enums.py,sha256=1iuixjmfHMIMDM3rEQ1YUjOPF3aV_OEoPq61I61KvGI,745
26
26
  amsdal_utils/models/data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  amsdal_utils/models/data_models/address.py,sha256=zKAGlXjw8oGJrADyhwE8BhYzCEUTSChMSApMYOL7Bjk,6585
28
- amsdal_utils/models/data_models/core.py,sha256=8cJaA8Xzl4yLpBKZ0CdmW1AO31LZy7Ja_umGUKHNNmU,8646
28
+ amsdal_utils/models/data_models/core.py,sha256=xisGA4xXJQofCpmyrFnxCGrS2_CVRa1VrDuQXnr4CuA,8708
29
29
  amsdal_utils/models/data_models/enums.py,sha256=qDJDPU5oxPlSNENFNf3PPgxiFJYbTM8OOE8stMmYYHc,4130
30
30
  amsdal_utils/models/data_models/metadata.py,sha256=z0u7kJzzNj8FxFXozVCcFfwyJFdto6_CgwXnW5TicB4,2996
31
31
  amsdal_utils/models/data_models/reference.py,sha256=hA-06Dq64oMVNv6L6DIelpraxpQJAPiHf4_3UqLmuw4,5098
@@ -49,7 +49,7 @@ amsdal_utils/query/data_models/paginator.py,sha256=oDEWEdyrEBBkHXyrS4K2mglYVw8An
49
49
  amsdal_utils/query/data_models/query_specifier.py,sha256=7rEVChU2XPy-3ooaTgfSZGKIOyIIKn8245MMuWrv3Mk,469
50
50
  amsdal_utils/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
51
51
  amsdal_utils/schemas/interfaces.py,sha256=XJGw45IE7E1HjYArdz2LELOcx15PeTw4L1V34atKm6Y,773
52
- amsdal_utils/schemas/schema.py,sha256=3cj_oEJG8gqdQrEg2iXhHLN_xks2RLHi5ASvuap1j14,6629
52
+ amsdal_utils/schemas/schema.py,sha256=twKLn11eKv8OywudRzp7lnj6dUstn93SaPjQ2IRheiY,6680
53
53
  amsdal_utils/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  amsdal_utils/utils/classes.py,sha256=GeJIt-jxOHgMnlEHMmzNk9vwxv4_V5dLP-Fv89hN5hc,354
55
55
  amsdal_utils/utils/decorators.py,sha256=RCWbbQJ2hY2s-uAI0C5M0X8gTXqUbL1Gx9NxACYBMOA,992
@@ -57,7 +57,7 @@ amsdal_utils/utils/identifier.py,sha256=oP3CHd2i8EBHMVUC8DWLr9pFZBt1IdH7Falaa3M2
57
57
  amsdal_utils/utils/lazy_object.py,sha256=eIVHBDNCSHKQopzYjviPCuh0svbRJQOCZ8KzqFLiS-s,2115
58
58
  amsdal_utils/utils/singleton.py,sha256=O42jKH0jOdfcPGz-OHqfm7kShEZQwUanu3rMHQJSsb0,722
59
59
  amsdal_utils/utils/text.py,sha256=4L5aICJGbmFZwNUhMrACb5thqmcIaWb3aVD24lW24a0,1962
60
- amsdal_utils-0.5.5.dist-info/METADATA,sha256=ilvgvJXOYy1N_-acJ7UUkImF_ZQTrKz2m8KMn5tHjAI,57431
61
- amsdal_utils-0.5.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
- amsdal_utils-0.5.5.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
63
- amsdal_utils-0.5.5.dist-info/RECORD,,
60
+ amsdal_utils-0.5.6.dist-info/METADATA,sha256=LDuz4vqSUNYHzbbLDv6SwUCgEMuWsykyOuPO6vfS_iA,57431
61
+ amsdal_utils-0.5.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
62
+ amsdal_utils-0.5.6.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
63
+ amsdal_utils-0.5.6.dist-info/RECORD,,