python-ort 0.9.4__py3-none-any.whl → 0.9.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.
- {python_ort-0.9.4.dist-info → python_ort-0.9.5.dist-info}/METADATA +1 -1
- {python_ort-0.9.4.dist-info → python_ort-0.9.5.dist-info}/RECORD +6 -6
- {python_ort-0.9.4.dist-info → python_ort-0.9.5.dist-info}/WHEEL +1 -1
- tools/ort_validate.py +2 -1
- {python_ort-0.9.4.dist-info → python_ort-0.9.5.dist-info}/entry_points.txt +0 -0
- {python_ort-0.9.4.dist-info → python_ort-0.9.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -111,9 +111,9 @@ ort/utils/spdx/spdx_license_choice.py,sha256=hop1tcSAq1ZWMd-504tAaCJ8KxzX_fp9_-r
|
|
|
111
111
|
ort/utils/validated_enum.py,sha256=UFAGP7BGzAx1nSBWEeMXn1X1teVb6507N-lfXBf5qGM,1643
|
|
112
112
|
ort/utils/yaml_loader.py,sha256=kOiuRV93_q_ZUnAqHoNohAvqL7fkUn66WrvrdbgZKHs,1290
|
|
113
113
|
tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
114
|
-
tools/ort_validate.py,sha256=
|
|
115
|
-
python_ort-0.9.
|
|
116
|
-
python_ort-0.9.
|
|
117
|
-
python_ort-0.9.
|
|
118
|
-
python_ort-0.9.
|
|
119
|
-
python_ort-0.9.
|
|
114
|
+
tools/ort_validate.py,sha256=gwCL0yxrGBQqWfr6ouNnrl0tub2ZiUzQ1TCxLDWwjoY,1787
|
|
115
|
+
python_ort-0.9.5.dist-info/licenses/LICENSE,sha256=koFhbHMglt1BNVuMKdBBlrQcgQsWLgo4pZW6cCtyGvA,1081
|
|
116
|
+
python_ort-0.9.5.dist-info/WHEEL,sha256=oBsDExVIEya4llboy9Ce1l6on8xt3GrtT29y6pYVypw,81
|
|
117
|
+
python_ort-0.9.5.dist-info/entry_points.txt,sha256=v2_5_A1Rs4kGKx2g-6PZQoNwx_JlDy6pfWSjMNT_BMU,58
|
|
118
|
+
python_ort-0.9.5.dist-info/METADATA,sha256=DopNqIU1igdMMkE76imjlFESgoyoMy8LZrbKqzsnLxo,1462
|
|
119
|
+
python_ort-0.9.5.dist-info/RECORD,,
|
tools/ort_validate.py
CHANGED
|
@@ -25,8 +25,9 @@ def load_and_validate(model: type[ModelT], datafile: str) -> None:
|
|
|
25
25
|
parsed = model.model_validate(data or {})
|
|
26
26
|
logger.debug(parsed.model_dump_json(indent=2))
|
|
27
27
|
logger.info(f"Successfully validated {datafile} as {model.__name__}.")
|
|
28
|
-
except ValidationError:
|
|
28
|
+
except ValidationError as e:
|
|
29
29
|
logger.error("Validation error while parsing the ORT result:")
|
|
30
|
+
logger.error(e)
|
|
30
31
|
sys.exit(1)
|
|
31
32
|
except OSError as e:
|
|
32
33
|
logger.error(f"Error while opening the file {datafile}: {e}")
|
|
File without changes
|
|
File without changes
|