COVESA / vss-tools

Software for working with VSS (https://github.com/COVESA/vehicle_signal_specification)
Mozilla Public License 2.0
51 stars 55 forks source link

Improve core logic of vspec parsing and the data model #380

Closed sschleemilch closed 2 weeks ago

sschleemilch commented 1 month ago

About

Idea is to refactor how we parse the vspecs and more importantly how we validate the node data.

The current implementation using core_attributes as well as a lot of classmethods to set a reference tree looks a bit complicated and error prune.

Pydantic could help us model our nodes and their restrictions.