Skip to content
Snippets Groups Projects
Commit 8a203256 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: vaccination

parent 2cbc5fe6
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -50,11 +50,19 @@ class OwidService:
return self
def full_update_star_schema(self):
self.service_import.import_file()
self.service_update_full.full_update_star_schema()
return self
def update_star_schema(self):
self.service_update.update_star_schema()
return self
def full_update(self):
self.service_import.import_file()
self.service_update_full.full_update_star_schema()
return self
def update(self):
self.service_import.import_file()
self.service_update.update_star_schema()
return self
\ No newline at end of file
return self
......@@ -397,6 +397,7 @@ def task_owid_update_star_schema(self):
return result
@celery.task(bind=True)
def task_owid_full_update(self):
logger = get_task_logger(__name__)
self.update_state(state=states.STARTED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment