Skip to content

Add pydantic-xml model generation, XML schema validation tests, and CI workflow - #94

Merged
pahjbo merged 52 commits into
mainfrom
copilot/vodmlpydanticgenerate-xml-json-serialization
Jul 15, 2026
Merged

Add pydantic-xml model generation, XML schema validation tests, and CI workflow#94
pahjbo merged 52 commits into
mainfrom
copilot/vodmlpydanticgenerate-xml-json-serialization

first "working" json reading for pydantic classes - though note it is…

0fb7728
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Test Results failed Jul 15, 2026 in 0s

1 errors in 0s

1 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0   1 🔥 ±0 

Results for commit 0fb7728. ± Comparison against earlier commit 6ab385c.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

pythontest.src.PydanticInteropTest with error

tools/gradletooling/sample/build/reports/pytestPydantic/results.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/home/runner/work/vo-dml/vo-dml/tools/gradletooling/sample/pythontest/src/PydanticInteropTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pythontest/src/PydanticInteropTest.py:19: in <module>
    from org.ivoa.dm.filter.filter import PhotometricSystem, PhotometryFilter
pythontest/generated/org/ivoa/dm/filter/filter.py:6: in <module>
    from vodml_runtime.VodmlXmlBase import _VodmlXmlBase
pythontest/src/vodml_runtime/__init__.py:4: in <module>
    from vodml_runtime.VodmlXmlBase import _VodmlXmlBase
pythontest/src/vodml_runtime/VodmlXmlBase.py:7: in <module>
    from vodml_runtime.xsdata.parsers.json import JsonParser
pythontest/src/vodml_runtime/xsdata/parsers/__init__.py:3: in <module>
    from vodml_runtime.xsdata.parsers.dict import DictDecoder
pythontest/src/vodml_runtime/xsdata/parsers/dict.py:11: in <module>
    from xsdata.formats.dataclass.parsers.nodes.idref import get_obj_key
E   ModuleNotFoundError: No module named 'xsdata.formats.dataclass.parsers.nodes.idref'