Replies: 2 comments
-
See also #95 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now supported via type_generators |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The biolink model entity class has an attribute called category which is essentially a list of biolink model classes (excluding mixins and abstract classes). However, there's no formalized way to represent this kind of type (not sure if recursive type is the right term). It would be especially useful for generating defaults, as I've prototyped in the pydantic gen in a hacky way with a _category classvar for non mixin|abstract classes and this post init on Entity:
Is it in scope for linkml to natively provide this type?
Beta Was this translation helpful? Give feedback.
All reactions