Open Dominux opened 6 months ago
Example:
[ { "type": "triangle", "name": "ABC" }, { "type": "line", "name": "AB", "length": 7 }, { "type": "line", "name": "BC" }, { "type": "relation", "rel_type": "equality", "objects": [ "AB", "BC" ] } ]
I think Im gonna go with dataclasses with custom marshall/unmarshall methods implementations instead of taking a whole pydantic lib since pydantic is bloat and it's a validation lib firstly
Example: