linkml / linkml-owl

Extension of LinkML runtime for converting instances of LinkML classes to OWL (classes or instances)
https://linkml.io/linkml-owl
11 stars 1 forks source link

Remove dependencies on dataclasses #44

Open cmungall opened 1 month ago

cmungall commented 1 month ago

When linkml-owl was written, python generated dataclasses were the standard way of working with linkml data. It is now more common to use pydantic (which is also much faster). The core linkml-runtime dumpers now accepted either, but linkml-owl lags behind.

And in fact, owl_dumper, doesn't even need objects, with some minor modifications it could work with dicts