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: Remove model_helpers.py for now. #2801

Merged
merged 1 commit into from
Oct 29, 2024
Merged

fix: Remove model_helpers.py for now. #2801

merged 1 commit into from
Oct 29, 2024

Conversation

oliverchang
Copy link
Collaborator

We had duplicate definitions, which led to different implementations being used in different settings.

In models.py, we used the ones defined in models.py. When called from the top level osv module (e.g. our API), we used the one in model_helpers.py

We had duplicate definitions, which led to different implementations
being used in different settings.

In models.py, we used the ones defined in models.py. When called from
the top level `osv` module (e.g. our API), we used the one in
model_helpers.py
@oliverchang oliverchang changed the title Remove model_helpers.py for now. fix: Remove model_helpers.py for now. Oct 29, 2024
@oliverchang oliverchang enabled auto-merge (squash) October 29, 2024 02:20
@oliverchang oliverchang merged commit 0370501 into master Oct 29, 2024
14 checks passed
@oliverchang oliverchang deleted the model-helpers branch October 29, 2024 02:28
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.

3 participants