Skip to content
Snippets Groups Projects
Commit 4f3185b0 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: vaccination

parent a8c882ac
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -33,6 +33,10 @@ class EcdcServiceImport:
date_rep = row['dateRep']
d = BlueprintDateReportedFactory.create_new_object_for_ecdc(my_date_rep=date_rep)
o = EcdcImport(
date_reported_import_str=d.date_reported_import_str,
datum=d.datum,
processed_update=False,
processed_full_update=False,
date_rep=date_rep,
day=row['day'],
month=row['month'],
......@@ -46,9 +50,6 @@ class EcdcServiceImport:
continent_exp=row['continentExp'],
cumulative_number_for_14_days_of_covid19_cases_per_100000
=row['Cumulative_number_for_14_days_of_COVID-19_cases_per_100000'],
datum=d.datum,
processed_update=False,
processed_full_update=False,
)
db.session.add(o)
oo = EcdcFlat(
......
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