From 43cb71cd222a0131a8aa892b3411b580591b1fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Sat, 2 May 2020 13:49:06 +0200 Subject: [PATCH] Add source_image field to insight serial --- robotoff/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/robotoff/models.py b/robotoff/models.py index 0a2b36e34d..1002882478 100644 --- a/robotoff/models.py +++ b/robotoff/models.py @@ -99,6 +99,7 @@ def serialize(self, full: bool = False) -> JSONType: "type": self.type, "barcode": self.barcode, "countries": self.countries, + "source_image": self.source_image, **self.data, }