linkml / linkml-runtime

Runtime support for linkml generated models
https://linkml.io/linkml/
Creative Commons Zero v1.0 Universal
24 stars 23 forks source link

schema_as_dict removes content #274

Closed lkuchenb closed 10 months ago

lkuchenb commented 1 year ago

The implementation of the _remove_names called at the end of schema_as_dict https://github.com/linkml/linkml-runtime/blob/8a8ee69db780eebf571d7344260b0e9bbfd88335/linkml_runtime/utils/schema_as_dict.py#L70 removes a slot called name from the slot_usage if present.