From 9c5ed4a46e17562d8c1f2a80a2e44b4374c09aea Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 03:21:40 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/onebusaway/types/arrival_and_departure_list_response.py | 4 ++-- .../types/arrival_and_departure_retrieve_response.py | 4 ++-- src/onebusaway/types/trip_detail_retrieve_response.py | 4 ++-- src/onebusaway/types/trip_for_vehicle_retrieve_response.py | 4 ++-- src/onebusaway/types/trips_for_location_list_response.py | 4 ++-- src/onebusaway/types/trips_for_route_list_response.py | 4 ++-- src/onebusaway/types/vehicles_for_agency_list_response.py | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1594ba1..1266cd8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 29 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-0c305d11543f8fc11bd55586c4dc4a724b10de1898cab0fe11364b4db6455752.yml -openapi_spec_hash: 6d10c2ac411cd65f30d200f298577b32 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-30baad9d29b0909d180aae300750a0cd8425b52d7a60ba365b6aa4e5f8da6fab.yml +openapi_spec_hash: 218466af34966d9b08728f107cb3b3b0 config_hash: 3871f5d21bb38ddd334ec04721dea64d diff --git a/src/onebusaway/types/arrival_and_departure_list_response.py b/src/onebusaway/types/arrival_and_departure_list_response.py index cb8aeb3..4da3e86 100644 --- a/src/onebusaway/types/arrival_and_departure_list_response.py +++ b/src/onebusaway/types/arrival_and_departure_list_response.py @@ -20,7 +20,7 @@ class ArrivalAndDepartureListResponseDataEntryArrivalsAndDepartureTripStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -108,7 +108,7 @@ class ArrivalAndDepartureListResponseDataEntryArrivalsAndDepartureTripStatus(Bas last_known_location: Optional[ ArrivalAndDepartureListResponseDataEntryArrivalsAndDepartureTripStatusLastKnownLocation ] = FieldInfo(alias="lastKnownLocation", default=None) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" diff --git a/src/onebusaway/types/arrival_and_departure_retrieve_response.py b/src/onebusaway/types/arrival_and_departure_retrieve_response.py index a4ed922..b45d300 100644 --- a/src/onebusaway/types/arrival_and_departure_retrieve_response.py +++ b/src/onebusaway/types/arrival_and_departure_retrieve_response.py @@ -19,7 +19,7 @@ class ArrivalAndDepartureRetrieveResponseDataEntryTripStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -107,7 +107,7 @@ class ArrivalAndDepartureRetrieveResponseDataEntryTripStatus(BaseModel): last_known_location: Optional[ArrivalAndDepartureRetrieveResponseDataEntryTripStatusLastKnownLocation] = FieldInfo( alias="lastKnownLocation", default=None ) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" diff --git a/src/onebusaway/types/trip_detail_retrieve_response.py b/src/onebusaway/types/trip_detail_retrieve_response.py index cb1552c..ccb12cc 100644 --- a/src/onebusaway/types/trip_detail_retrieve_response.py +++ b/src/onebusaway/types/trip_detail_retrieve_response.py @@ -47,7 +47,7 @@ class TripDetailRetrieveResponseDataEntrySchedule(BaseModel): class TripDetailRetrieveResponseDataEntryStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -133,7 +133,7 @@ class TripDetailRetrieveResponseDataEntryStatus(BaseModel): last_known_location: Optional[TripDetailRetrieveResponseDataEntryStatusLastKnownLocation] = FieldInfo( alias="lastKnownLocation", default=None ) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" diff --git a/src/onebusaway/types/trip_for_vehicle_retrieve_response.py b/src/onebusaway/types/trip_for_vehicle_retrieve_response.py index 3ee8582..d7f7ee9 100644 --- a/src/onebusaway/types/trip_for_vehicle_retrieve_response.py +++ b/src/onebusaway/types/trip_for_vehicle_retrieve_response.py @@ -47,7 +47,7 @@ class TripForVehicleRetrieveResponseDataEntrySchedule(BaseModel): class TripForVehicleRetrieveResponseDataEntryStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -133,7 +133,7 @@ class TripForVehicleRetrieveResponseDataEntryStatus(BaseModel): last_known_location: Optional[TripForVehicleRetrieveResponseDataEntryStatusLastKnownLocation] = FieldInfo( alias="lastKnownLocation", default=None ) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" diff --git a/src/onebusaway/types/trips_for_location_list_response.py b/src/onebusaway/types/trips_for_location_list_response.py index 1af09eb..9530952 100644 --- a/src/onebusaway/types/trips_for_location_list_response.py +++ b/src/onebusaway/types/trips_for_location_list_response.py @@ -47,7 +47,7 @@ class TripsForLocationListResponseDataListSchedule(BaseModel): class TripsForLocationListResponseDataListStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -133,7 +133,7 @@ class TripsForLocationListResponseDataListStatus(BaseModel): last_known_location: Optional[TripsForLocationListResponseDataListStatusLastKnownLocation] = FieldInfo( alias="lastKnownLocation", default=None ) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" diff --git a/src/onebusaway/types/trips_for_route_list_response.py b/src/onebusaway/types/trips_for_route_list_response.py index 9f931da..e7ecb00 100644 --- a/src/onebusaway/types/trips_for_route_list_response.py +++ b/src/onebusaway/types/trips_for_route_list_response.py @@ -47,7 +47,7 @@ class TripsForRouteListResponseDataListSchedule(BaseModel): class TripsForRouteListResponseDataListStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -133,7 +133,7 @@ class TripsForRouteListResponseDataListStatus(BaseModel): last_known_location: Optional[TripsForRouteListResponseDataListStatusLastKnownLocation] = FieldInfo( alias="lastKnownLocation", default=None ) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" diff --git a/src/onebusaway/types/vehicles_for_agency_list_response.py b/src/onebusaway/types/vehicles_for_agency_list_response.py index d5c7037..0cb3e14 100644 --- a/src/onebusaway/types/vehicles_for_agency_list_response.py +++ b/src/onebusaway/types/vehicles_for_agency_list_response.py @@ -26,7 +26,7 @@ class VehiclesForAgencyListResponseDataListLocation(BaseModel): class VehiclesForAgencyListResponseDataListTripStatusLastKnownLocation(BaseModel): - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" lat: Optional[float] = None """Latitude of the last known location of the transit vehicle.""" @@ -112,7 +112,7 @@ class VehiclesForAgencyListResponseDataListTripStatus(BaseModel): last_known_location: Optional[VehiclesForAgencyListResponseDataListTripStatusLastKnownLocation] = FieldInfo( alias="lastKnownLocation", default=None ) - """Last known location of the transit vehicle.""" + """Last known location of the transit vehicle (optional).""" last_known_orientation: Optional[float] = FieldInfo(alias="lastKnownOrientation", default=None) """Last known orientation value received in real-time from the transit vehicle.""" From 7ab059a4b45c642bcfe8fa71bdc8bd16189a3aa0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 14 Mar 2026 03:21:58 +0000 Subject: [PATCH 2/2] release: 1.22.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/onebusaway/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ba231b0..397c420 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.21.0" + ".": "1.22.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 490f474..711e52d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.22.0 (2026-03-14) + +Full Changelog: [v1.21.0...v1.22.0](https://github.com/OneBusAway/python-sdk/compare/v1.21.0...v1.22.0) + +### Features + +* **api:** api update ([9c5ed4a](https://github.com/OneBusAway/python-sdk/commit/9c5ed4a46e17562d8c1f2a80a2e44b4374c09aea)) + ## 1.21.0 (2026-03-10) Full Changelog: [v1.20.0...v1.21.0](https://github.com/OneBusAway/python-sdk/compare/v1.20.0...v1.21.0) diff --git a/pyproject.toml b/pyproject.toml index c8b9d4e..1036225 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "onebusaway" -version = "1.21.0" +version = "1.22.0" description = "The official Python library for the onebusaway-sdk API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/onebusaway/_version.py b/src/onebusaway/_version.py index 6fa78eb..6f32ea8 100644 --- a/src/onebusaway/_version.py +++ b/src/onebusaway/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "onebusaway" -__version__ = "1.21.0" # x-release-please-version +__version__ = "1.22.0" # x-release-please-version