finalising recommendations api

This commit is contained in:
Khalim Conn-Kowlessar 2023-09-12 17:50:39 +01:00
parent cda0ceb009
commit dd49798dad

View file

@ -91,6 +91,8 @@ def upload_recommendations(session, recommendations_to_upload, property_id):
)]
# Prepare data for bulk insert for RecommendationMaterials
# We can have multiple materials per recommendation. The aggregation of the materials will total the
# recommendation figures
recommendation_materials_data = [
{
"recommendation_id": recommendation_id,