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

fix: make to_obj() more efficient #20

Merged
merged 2 commits into from
Mar 1, 2024
Merged

fix: make to_obj() more efficient #20

merged 2 commits into from
Mar 1, 2024

Conversation

hsheth2
Copy link

@hsheth2 hsheth2 commented Mar 1, 2024

We used to instantiate an instance of AvroJsonConverter every time .validate() or .to_obj() was called. Now, we just create each once globally and use them throughout.

@hsheth2 hsheth2 merged commit 932288c into master Mar 1, 2024
10 checks passed
hsheth2 added a commit to datahub-project/datahub that referenced this pull request Mar 1, 2024
@hsheth2 hsheth2 deleted the efficient-to-obj branch March 1, 2024 20:53
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.

1 participant