Skip to content
Snippets Groups Projects
Commit 836062a2 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: rename covid19 to flask_covid19

parent 90961b6b
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -35,8 +35,8 @@ class RkiVaccinationDateReported(BlueprintDateReported):
processed_full_update = db.Column(db.Boolean, nullable=False)
@classmethod
def create_new_object_factory(cls, my_date_rep):
o = cls.create_new_object_factory_rki_vaccination(my_date_rep)
def create_new_object_factory(cls, my_date_rep: str):
o = cls.create_new_object_factory_rki_vaccination(my_date_rep=my_date_rep)
oo = RkiVaccinationDateReported(
datum=o.datum,
year=o.year,
......
......@@ -43,7 +43,7 @@ class RkiVaccinationServiceUpdateFull(RkiVaccinationServiceUpdateBase):
i = 0
for item_date_rep, in result_date_rep:
d = RkiVaccinationDateReported.get_by_date_reported(
s_date_reported_import_str=item_date_rep
s_date_reported_import_str=item_date_rep.date_reported_import_str
)
for item_import in RkiVaccinationImport.find_by_datum(d.date_reported_import_str):
o = RkiVaccinationData(
......
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