Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -243,6 +243,7 @@ async def process_batch_job(dataset: Dict[str, Any]):
|
|
243 |
"batch_job_id" : batch_job.id
|
244 |
}).execute()
|
245 |
|
|
|
246 |
print("Batch sent for processing")
|
247 |
except Exception as e:
|
248 |
logger.error(f"Error processing batch job {batch_job_id}: {str(e)}")
|
|
|
243 |
"batch_job_id" : batch_job.id
|
244 |
}).execute()
|
245 |
|
246 |
+
supabase.table("gmail_receipts_data").insert({"batch_id":batch_job.id}).execute()
|
247 |
print("Batch sent for processing")
|
248 |
except Exception as e:
|
249 |
logger.error(f"Error processing batch job {batch_job_id}: {str(e)}")
|