Skip to content

Commit

Permalink
Merge pull request #195 from UKHSA-Internal/sandbox
Browse files Browse the repository at this point in the history
Sandbox -> development
  • Loading branch information
adebayoolabintan committed Jul 27, 2023
2 parents 6ed6230 + 9a638ae commit 9ca3e0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db_etl_homepage_graphs/grapher.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def get_timeseries(date: str, metric: str):
finally:
session.close()

if not values:
return

store_data(
date,
metric,
Expand Down Expand Up @@ -272,4 +275,4 @@ def main(payload):


if __name__ == "__main__":
main({"date": "2022-08-10"})
main({"date": "2023-07-27"})

0 comments on commit 9ca3e0d

Please sign in to comment.