From 1b9de7c8e8643b59020eab366fa4c72491a96cd4 Mon Sep 17 00:00:00 2001 From: David Guillot Date: Tue, 21 Mar 2017 17:34:49 +0100 Subject: [PATCH] =?UTF-8?q?[Jobs][AN]=20Dossiers=20:=20ajout=20de=20l'info?= =?UTF-8?q?=20num=C3=A9ro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parlapi/jobs/an_dossiers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parlapi/jobs/an_dossiers.py b/parlapi/jobs/an_dossiers.py index 18acc98..7f3621b 100644 --- a/parlapi/jobs/an_dossiers.py +++ b/parlapi/jobs/an_dossiers.py @@ -41,6 +41,7 @@ class ImportDossiersJob(BaseANJob): chrono = json['cycleDeVie']['chrono'] klass = json['classification'] + notice = json['notice'] data = { 'acteurs': [], @@ -52,6 +53,7 @@ class ImportDossiersJob(BaseANJob): 'divisions': [], 'dossier': None, 'legislature': None, + 'notice_numero': notice['numNotice'], 'organes': [], 'soustype_code': None, 'soustype_libelle': None, -- 2.26.2