rename n_somerset_waste_collection_events function

This commit is contained in:
Edward Betts 2024-07-18 14:24:44 +09:00
parent 5b9a481bb2
commit 9f54c3ac03

View file

@ -60,7 +60,7 @@ def timezone_transition(
] ]
async def waste_collection_events( async def n_somerset_waste_collection_events(
data_dir: str, postcode: str, uprn: str data_dir: str, postcode: str, uprn: str
) -> list[Event]: ) -> list[Event]:
"""Waste colllection events.""" """Waste colllection events."""
@ -152,7 +152,7 @@ async def get_data(now: datetime, config: flask.config.Config) -> AgendaData:
time_function("gwr_advance_tickets", gwr.advance_ticket_date, data_dir), time_function("gwr_advance_tickets", gwr.advance_ticket_date, data_dir),
time_function( time_function(
"backwell_bins", "backwell_bins",
waste_collection_events, n_somerset_waste_collection_events,
data_dir, data_dir,
config["BACKWELL_POSTCODE"], config["BACKWELL_POSTCODE"],
config["BACKWELL_UPRN"], config["BACKWELL_UPRN"],