Skip to content

Commit 97624fe

Browse files
authored
fix: only keep published feeds in gtfs metrics dashboard (#986)
1 parent 57549d3 commit 97624fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions-python/preprocessed_analytics/src/processors/gtfs_analytics_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def get_latest_data(self, db_session: Session) -> sqlalchemy.orm.Query:
4343
),
4444
)
4545
.where(Gtfsfeed.status != "deprecated")
46+
.where(Gtfsfeed.operational_status == "published")
4647
.options(
4748
joinedload(Gtfsfeed.locations),
4849
joinedload(Gtfsdataset.validation_reports).joinedload(

0 commit comments

Comments
 (0)