Jody Bailey
92301a245f
fix: field adjustments to product recommendations endpoint ( #32593 )
...
* fix: field adjustments to product recommendations endpoint
* chore: formatting for files
* chore: indenting fix
* chore: removed f-strings
2023-06-28 15:46:33 +02:00
Jody Bailey
76e4e8cfe8
feat: Added separate url for only returning amplitude recommendations ( #32398 )
...
* feat: Added separate url for only returning amplitude recommendations
* chore: added extra line between serializers
* chore: changed name of methods
* chore: updated and added docstrings
2023-06-08 16:29:52 +02:00
Jody Bailey
c7fc04968f
feat: new endpoint for cross product and amplitude recommendations ( #32297 )
...
* feat: cross product recommendations endpoint enhancement for amplitude recommendations
* fix: general recommendations fix and linting fixes
* fix: query string parameter value check fix
* chore: updated positioning of docstring
* fix: Adjusted docstring for CPR serializer
* fix: Separated view, added new url, fallback recommendations fixes and more
* fix: removed dangerous default value argument
* chore: made necessary linting changes
* chore: updated doctring description
* fix: removed dangerous default argument
* chore: updated doctring for ProductRecommendationsView
2023-06-05 16:31:11 +02:00
Jody Bailey
ba1c018a2e
feat: Cross Product Recommendations Logic ( #32003 )
...
* feat: added get_cross_product_recommendations method
* feat: Cross Product Recommendations Logic
* fix: lint errors
* fix: removed unused utility method get_programs_based_on_course
* fix: lint errors
* fix: views test case removed decorator
* fix: edited serializer to no longer extend from existing
* fix: included mocked data for tests and handled empty discovery responses
* fix: removed settings import
* test: add module docstring
* test: removed log resultitng in failure
* fix: moved recommendations dictionary to settings variable
* fix: cleaned up logic for Cross Product Recommendations view
* refactor: requested changes to view and serializer tests
* fix: fixed list passed into serializer in cross product view
* fix: added query string to course query and removed production course keys
* fix: moved query string argument value to separate variable
2023-04-07 13:17:17 +02:00