Omkar008 commited on
Commit
f257105
·
verified ·
1 Parent(s): 1250eb4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
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)}")