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

Modify Price Prediction Logic #33

Merged
merged 3 commits into from
Sep 12, 2024
Merged

Conversation

dhruv-ahuja
Copy link
Owner

  • Brings price prediction script up-to-date with latest application changes.
  • Also prevents duplication of price history records, and errors during price history API calls in the script flow.
  • Modifies items API to return last 7 price history data records, since that is the data-set used by the frontend currently.

- update script for new schema changes
- prevent duplication of price history records
- save all available item's price history data to db
- raise exception if non-200 error
- handle invalid format errors when parsing response as JSON
@dhruv-ahuja dhruv-ahuja merged commit 67c548e into main Sep 12, 2024
2 checks passed
@dhruv-ahuja dhruv-ahuja deleted the fix/price_prediction_script branch September 12, 2024 02:02
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