Skip to content

Commit af33bd1

Browse files
authored
bus version bump is broken - set bus events to regen since august 2025 for now, and back out version bump (#716)
1 parent 1865d45 commit af33bd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lamp_py/runtime_utils/remote_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def s3_uri(self) -> str:
145145
)
146146

147147
# published by LAMP
148-
bus_events = S3Location(bucket=S3_PUBLIC, prefix=os.path.join(LAMP, "bus_vehicle_events"), version="1.2.1")
148+
bus_events = S3Location(bucket=S3_PUBLIC, prefix=os.path.join(LAMP, "bus_vehicle_events"), version="1.2")
149149
bus_operator_mapping = S3Location(bucket=S3_ARCHIVE, prefix=os.path.join(LAMP, "bus_operator_mapping"), version="1.0")
150150

151151
# Kinesis stream glides events

src/lamp_py/tableau/jobs/bus_performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from lamp_py.aws.s3 import object_exists
2121

2222
# temporary - ticket in backlog to implement this split as per-rating instead
23-
BUS_ALL_NDAYS = 165
23+
BUS_ALL_NDAYS = (datetime.now().date() - datetime(2025, 8, 1).date()).days
2424
BUS_RECENT_NDAYS = 7
2525
# this schema and the order of this schema SHOULD match what comes out
2626
# of the polars version from bus_performance_manager.

0 commit comments

Comments
 (0)