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

Removed pydantic_version keyword in template_loader.py #459

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

gkreder
Copy link
Contributor

@gkreder gkreder commented Sep 24, 2024

Removing pydantic_version=2 keyword in initialization of PydanticGenerator object. It appears that this is an unsupported keyword argument with linkml 1.8.3 and was causing crashes in ontogpt extract calls. I did not test with linkml 1.8.0. Is pydantic_version necessary here?

Removing `pydantic_version=2` keyword in initialization of `PydanticGenerator` object
@caufieldjh
Copy link
Member

Thanks @gkreder! I hadn't observed this issue yet but you're absolutely right - the latest linkml does not include the pydantic_version argument on PydanticGenerator.

@caufieldjh caufieldjh merged commit 79bac92 into monarch-initiative:main Sep 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants