amsdal_utils 0.4.4__py3-none-any.whl → 0.4.5__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 +1 -1
- amsdal_utils/models/data_models/core.py +6 -1
- {amsdal_utils-0.4.4.dist-info → amsdal_utils-0.4.5.dist-info}/METADATA +1 -1
- {amsdal_utils-0.4.4.dist-info → amsdal_utils-0.4.5.dist-info}/RECORD +6 -6
- {amsdal_utils-0.4.4.dist-info → amsdal_utils-0.4.5.dist-info}/WHEEL +0 -0
- {amsdal_utils-0.4.4.dist-info → amsdal_utils-0.4.5.dist-info}/licenses/LICENSE.txt +0 -0
amsdal_utils/__about__.py
CHANGED
|
@@ -73,9 +73,14 @@ class LegacyDictSchema(BaseModel):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def process_any_of(data: dict[str, Any], info: ValidationInfo) -> dict[str, Any]:
|
|
76
|
+
_any_of = data.pop('anyOf')
|
|
77
|
+
if _any_of in [[{'$ref': '#/$defs/Reference'}], [{'$ref': '#/$defs/Reference'}, {'type': 'null'}]]:
|
|
78
|
+
data['type'] = 'object'
|
|
79
|
+
return data
|
|
80
|
+
|
|
76
81
|
any_of = [
|
|
77
82
|
ao
|
|
78
|
-
for ao in
|
|
83
|
+
for ao in _any_of
|
|
79
84
|
if ao not in [{'type': 'null'}, {'$ref': '#/$defs/Reference'}, {'$ref': '#/$defs/LegacyModel'}]
|
|
80
85
|
]
|
|
81
86
|
|
|
@@ -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=
|
|
2
|
+
amsdal_utils/__about__.py,sha256=HQoXWCI9LqYb-j-ea1Ulejb3Ir-_CD3-UeZt8eLJTPQ,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=haQmHYfQcQdejgM1KrNIylfNS-0R0KEDH4v2I8sjIWo,6600
|
|
28
|
-
amsdal_utils/models/data_models/core.py,sha256=
|
|
28
|
+
amsdal_utils/models/data_models/core.py,sha256=tRFy95RrsdyKJFIyxqBWbVawReuWyyWr2jZT1pRLBhs,7494
|
|
29
29
|
amsdal_utils/models/data_models/enums.py,sha256=qDJDPU5oxPlSNENFNf3PPgxiFJYbTM8OOE8stMmYYHc,4130
|
|
30
30
|
amsdal_utils/models/data_models/metadata.py,sha256=J9r7K2_coE2qD3au-Y7wS2YXcjMUOkW_kx3Gubr3Oyg,2979
|
|
31
31
|
amsdal_utils/models/data_models/reference.py,sha256=hA-06Dq64oMVNv6L6DIelpraxpQJAPiHf4_3UqLmuw4,5098
|
|
@@ -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=DbgQVJdeftO8sGVm2ti4zf4KDaDd2ogclO3B6gxfqag,744
|
|
59
59
|
amsdal_utils/utils/text.py,sha256=4L5aICJGbmFZwNUhMrACb5thqmcIaWb3aVD24lW24a0,1962
|
|
60
|
-
amsdal_utils-0.4.
|
|
61
|
-
amsdal_utils-0.4.
|
|
62
|
-
amsdal_utils-0.4.
|
|
63
|
-
amsdal_utils-0.4.
|
|
60
|
+
amsdal_utils-0.4.5.dist-info/METADATA,sha256=_wkKuSJDrHCl0Zax_pv-HWMHIJwclWdqROWvIYFc_W8,57431
|
|
61
|
+
amsdal_utils-0.4.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
62
|
+
amsdal_utils-0.4.5.dist-info/licenses/LICENSE.txt,sha256=hG-541PFYfNJi9WRZi_hno91UyqNg7YLK8LR3vLblZA,27355
|
|
63
|
+
amsdal_utils-0.4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|