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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-ort
3
- Version: 0.9.4
3
+ Version: 0.9.5
4
4
  Summary: A Python Ort model serialization library
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -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=fjz0laU903mieeMwqeWsNPY8aEGPQw-xDfvEauZq4NE,1758
115
- python_ort-0.9.4.dist-info/licenses/LICENSE,sha256=koFhbHMglt1BNVuMKdBBlrQcgQsWLgo4pZW6cCtyGvA,1081
116
- python_ort-0.9.4.dist-info/WHEEL,sha256=8ZlpUMJ7mlDirmlHRhDirEx_nPnARrwDjeE92mlk68E,81
117
- python_ort-0.9.4.dist-info/entry_points.txt,sha256=v2_5_A1Rs4kGKx2g-6PZQoNwx_JlDy6pfWSjMNT_BMU,58
118
- python_ort-0.9.4.dist-info/METADATA,sha256=0wxvzLvkcM-beIAcpL6O9jGWG8O3jYdNfnC3KAUU4fw,1462
119
- python_ort-0.9.4.dist-info/RECORD,,
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,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.11.21
2
+ Generator: uv 0.11.23
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
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}")