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

Pydantic v2 updates for Neo4j #30

Merged
merged 5 commits into from
Jul 14, 2023
Merged

Pydantic v2 updates for Neo4j #30

merged 5 commits into from
Jul 14, 2023

Conversation

prrao87
Copy link
Owner

@prrao87 prrao87 commented Jul 14, 2023

Updates for Pydantic v2

This PR incorporates changes to each DB's API and ingestion routines to work with Pydantic v2. Because of the ~5x performance improvement seen when using Pydantic v2, we don't need to focus on optimizing the bulk ingestion too much during the validation stage -- as a result, alongside syntactic and API changes for Pydantic, the portions of the code that use multiprocessing for validation are simplified (and not required, because multiprocessing involves its own overhead).

@prrao87 prrao87 added the enhancement New feature or request label Jul 14, 2023
@prrao87 prrao87 self-assigned this Jul 14, 2023
@prrao87 prrao87 changed the title Pydantic v2 updates for each DB Pydantic v2 updates for Neo4j Jul 14, 2023
@prrao87 prrao87 merged commit 983b8a6 into main Jul 14, 2023
@prrao87 prrao87 deleted the pydantic-v2 branch July 14, 2023 21:00
@prrao87 prrao87 restored the pydantic-v2 branch July 14, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants