Skip to content

Commit

Permalink
feat: add est_ess to index
Browse files Browse the repository at this point in the history
  • Loading branch information
Hajar AIT EL KADI committed Nov 20, 2023
1 parent f624701 commit 191c5a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions elasticsearch/mapping_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ class UniteLegaleMapping(InnerDoc):
est_association = Boolean()
est_finess = Boolean()
est_bio = Boolean()
est_ess = Boolean()
est_organisme_formation = Boolean()
liste_id_organisme_formation = Text()
est_qualiopi = Boolean()
Expand Down
3 changes: 3 additions & 0 deletions elasticsearch/process_unites_legales.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def process_unites_legales(chunk_unites_legales_sqlite):
unite_legale["est_entrepreneur_spectacle"]
)

# ESS
unite_legale_processed["est_ess"] = sqlite_str_to_bool(unite_legale["est_ess"])

# Egapro
unite_legale_processed["egapro_renseignee"] = sqlite_str_to_bool(
unite_legale["egapro_renseignee"]
Expand Down

0 comments on commit 191c5a8

Please sign in to comment.