Closed sschleemilch closed 2 weeks ago
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.
core_attributes
Pydantic could help us model our nodes and their restrictions.
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.