mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
finalising recommendations api
This commit is contained in:
parent
cda0ceb009
commit
dd49798dad
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue