From 4a9ee7b7528d8189c4279978ca79ffc0312db16f Mon Sep 17 00:00:00 2001 From: Pedro Marques Date: Wed, 19 Jun 2024 14:06:30 -0300 Subject: [PATCH] Removing updated at from exclude list --- api/app/routers/entities_mrg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/routers/entities_mrg.py b/api/app/routers/entities_mrg.py index 7a95e44..e633abe 100644 --- a/api/app/routers/entities_mrg.py +++ b/api/app/routers/entities_mrg.py @@ -58,7 +58,7 @@ async def create_or_update_patient( return HTMLResponse(content=str(e), status_code=400) updatable_fields = [x for x in dict(inserts[0]).keys() if x not in [ - 'patient_code', 'patient_cpf', 'created_at', 'updated_at', 'id']] + 'patient_code', 'patient_cpf', 'created_at', 'id']] bulk_insert_results = await MergedPatient.bulk_create( inserts, batch_size=500,