Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pydanticgen] Add slot URIs in pydantic (v2) module output for semantic (web) applications. #2068

Open
markdoerr opened this issue Apr 16, 2024 · 1 comment

Comments

@markdoerr
Copy link

markdoerr commented Apr 16, 2024

Is your feature request related to a problem? Please describe.
For semantic - aware python applications, it would be very useful to be able to use the slot_uri information of a LinkML YAML data model, best through the generated Pydantic module output. How could this be achieved ?

Describe the solution you'd like
The generated output should contain the slot_uris in the generated Pydantic Model.

How important is this feature? Select from the options below:
• Important - it's a blocker and can't do work without it

When will use cases depending on this become relevant? Select from the options below:
• Short-term - 2-4 weeks

Additional context
Implementation wise, it is quite flexible, there should only be a clear relation between the slot_uri and a generated pydantic field.

@markdoerr
Copy link
Author

This issue should be solved with #b5313f9 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants