From 62e43f1608def00678746994dc11fbaa4fbf9937 Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Sat, 3 Apr 2021 22:27:37 +0200 Subject: [PATCH] update data --- src/covid19/blueprints/owid/owid_service.py | 1 + src/covid19/blueprints/owid/owid_service_update.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/covid19/blueprints/owid/owid_service.py b/src/covid19/blueprints/owid/owid_service.py index 470f77c6..94790146 100644 --- a/src/covid19/blueprints/owid/owid_service.py +++ b/src/covid19/blueprints/owid/owid_service.py @@ -28,6 +28,7 @@ class OwidService: def task_database_drop_create(self): self.service_import.import_file() + # TODO self.service_update.update_dimension_tables_only() self.service_update.update_fact_table_incremental_only() return self diff --git a/src/covid19/blueprints/owid/owid_service_update.py b/src/covid19/blueprints/owid/owid_service_update.py index 00302ea7..9be0ecaf 100644 --- a/src/covid19/blueprints/owid/owid_service_update.py +++ b/src/covid19/blueprints/owid/owid_service_update.py @@ -214,7 +214,8 @@ class OwidServiceUpdate: def update_dimension_tables_only(self): app.logger.info(" update_dimension_tables_only [begin]") app.logger.info("------------------------------------------------------------") - self.__update_dimension_tables() + # TODO + # self.__update_dimension_tables() app.logger.info(" update_dimension_tables_only [done]") app.logger.info("------------------------------------------------------------") return self @@ -222,7 +223,8 @@ class OwidServiceUpdate: def update_fact_table_incremental_only(self): app.logger.info(" update_fact_tables_incremental_only [begin]") app.logger.info("------------------------------------------------------------") - self.__update_fact_table_incremental() + # TODO + # self.__update_fact_table_incremental() app.logger.info(" update_fact_tables_incremental_only [done]") app.logger.info("------------------------------------------------------------") return self -- GitLab