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

PydanticTwoCompatibility: Handle missing __validators__ #68

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

gabe-l-hart
Copy link
Contributor

#67

Goals:

This PR is a partial fix to #67 to allow create_output_doc_type to work with pydantic>=2. It does not address the transitive dependency from jina which would require further investigation.

@gabe-l-hart gabe-l-hart force-pushed the PydanticTwoCompatibility-67 branch from 61ee4a3 to 9f16c06 Compare March 1, 2024 18:15
@gabe-l-hart
Copy link
Contributor Author

Sorry to miss the commit linting standards! Just force-pushed and should be good

@gabe-l-hart gabe-l-hart force-pushed the PydanticTwoCompatibility-67 branch from 9f16c06 to c0837a6 Compare March 4, 2024 16:03
@gabe-l-hart
Copy link
Contributor Author

One more try with no upper case letters in the commit header!

@JoanFM JoanFM merged commit f0200e5 into jina-ai:main Mar 4, 2024
6 of 8 checks passed
@gabe-l-hart gabe-l-hart deleted the PydanticTwoCompatibility-67 branch March 4, 2024 17:13
@gabe-l-hart
Copy link
Contributor Author

Thanks, and sorry for the CI flailing!

@JoanFM
Copy link
Member

JoanFM commented Mar 4, 2024

Thanks, and sorry for the CI flailing!

No problem, I should relax some requirements actually

@JoanFM JoanFM linked an issue Mar 7, 2024 that may be closed by this pull request
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.

Missing __validators__ property with pydantic>=2
2 participants