Skip to content
Snippets Groups Projects
Commit 5073c18b authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: vaccination

parent f0057e61
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
......@@ -279,7 +279,7 @@ class RkiData(BlueprintFactTable):
altersgruppe2 = db.Column(db.String(255), nullable=False)
@classmethod
def find_by_date_reported_and_location(cls, date_reported: BlueprintDateReported, location: BlueprintLocation):
def find_by_date_reported_and_location(cls, date_reported: RkiMeldedatum, location: RkiLandkreis):
return db.session.query(cls).filter(
and_((cls.date_reported.id == date_reported.id), (cls.location.id == location.id))
).one_or_none()
......
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