From 0f6dd3b1e4b98ddc3a393a183bdfe64b70b966e1 Mon Sep 17 00:00:00 2001 From: Luca Chiabrera <7693808+chiabre@users.noreply.github.com> Date: Fri, 29 Aug 2025 09:17:33 -0400 Subject: [PATCH 1/2] Update base_handler.py Fix for #29 --- src/mbtaclient/handlers/base_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mbtaclient/handlers/base_handler.py b/src/mbtaclient/handlers/base_handler.py index ddacea7..71fcd49 100644 --- a/src/mbtaclient/handlers/base_handler.py +++ b/src/mbtaclient/handlers/base_handler.py @@ -484,6 +484,8 @@ def _filter_and_sort_trips( if require_both_stops and ( not departure_stop or not arrival_stop + or departure_stop.stop_sequence is None # <-- FIX for #29 + or arrival_stop.stop_sequence is None # <-- FIX for #29 or departure_stop.stop_sequence > arrival_stop.stop_sequence ): continue From 59d1a059fff4f8c3237a936d4cd726586439feac Mon Sep 17 00:00:00 2001 From: Luca Chiabrera <7693808+chiabre@users.noreply.github.com> Date: Fri, 29 Aug 2025 09:20:07 -0400 Subject: [PATCH 2/2] Update pyproject.toml bump to 1.1.31 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9c184f3..ede476f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "MBTAclient" -version = "1.1.30" +version = "1.1.31" description = "A Python client for interacting with the MBTA API" readme = "README.md" requires-python = ">=3.12"