Spaces:
Running
Running
Update services/report_data_handler.py
Browse files
services/report_data_handler.py
CHANGED
@@ -119,7 +119,7 @@ def save_objectives(
|
|
119 |
for obj in objectives_data
|
120 |
]
|
121 |
|
122 |
-
logger.info(f"Attempting to save {
|
123 |
response_data = bulk_upload_to_bubble(payloads, BUBBLE_OKR_TABLE_NAME)
|
124 |
|
125 |
# Validate response and extract IDs from the list of dictionaries.
|
@@ -187,7 +187,7 @@ def save_key_results(
|
|
187 |
logger.info("No key results to save.")
|
188 |
return []
|
189 |
|
190 |
-
logger.info(f"Attempting to save {
|
191 |
response_data = bulk_upload_to_bubble(key_result_payloads, BUBBLE_KEY_RESULTS_TABLE_NAME)
|
192 |
|
193 |
# Validate response and extract IDs.
|
@@ -250,7 +250,7 @@ def save_tasks(
|
|
250 |
logger.info("No tasks to save.")
|
251 |
return []
|
252 |
|
253 |
-
logger.info(f"Attempting to save {
|
254 |
response_data = bulk_upload_to_bubble(task_payloads, BUBBLE_TASKS_TABLE_NAME)
|
255 |
|
256 |
# Validate response and extract IDs.
|
|
|
119 |
for obj in objectives_data
|
120 |
]
|
121 |
|
122 |
+
logger.info(f"Attempting to save {payloads} objectives for report_id: {report_id}")
|
123 |
response_data = bulk_upload_to_bubble(payloads, BUBBLE_OKR_TABLE_NAME)
|
124 |
|
125 |
# Validate response and extract IDs from the list of dictionaries.
|
|
|
187 |
logger.info("No key results to save.")
|
188 |
return []
|
189 |
|
190 |
+
logger.info(f"Attempting to save {key_result_payloads} key results for org_urn: {org_urn}")
|
191 |
response_data = bulk_upload_to_bubble(key_result_payloads, BUBBLE_KEY_RESULTS_TABLE_NAME)
|
192 |
|
193 |
# Validate response and extract IDs.
|
|
|
250 |
logger.info("No tasks to save.")
|
251 |
return []
|
252 |
|
253 |
+
logger.info(f"Attempting to save {task_payloads} tasks for org_urn: {org_urn}")
|
254 |
response_data = bulk_upload_to_bubble(task_payloads, BUBBLE_TASKS_TABLE_NAME)
|
255 |
|
256 |
# Validate response and extract IDs.
|