Skip to content

Commit 12a4f82

Browse files
Merge pull request #339 from OneBusAway/release-please--branches--main--changes--next
release: 1.20.0
2 parents 3ddf593 + fc63081 commit 12a4f82

File tree

8 files changed

+28
-69
lines changed

8 files changed

+28
-69
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.19.7"
2+
".": "1.20.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 29
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-4fcbe9547537b22a2d68329e1d94e0c1a6f81b5af734ca213f7b95eef5da7adb.yml
3-
openapi_spec_hash: 417ea17b08e186b15b2986372592185e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-22e1c98416f77779b2c07db272016be0b623b94f6b55cca2d1909f9dc4032c3f.yml
3+
openapi_spec_hash: dd25fff6bc185752d92e93f6e47d3a5e
44
config_hash: 3871f5d21bb38ddd334ec04721dea64d

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 1.20.0 (2026-03-09)
4+
5+
Full Changelog: [v1.19.7...v1.20.0](https://github.com/OneBusAway/python-sdk/compare/v1.19.7...v1.20.0)
6+
7+
### Features
8+
9+
* **api:** api update ([5f55ef1](https://github.com/OneBusAway/python-sdk/commit/5f55ef1165888a1834d6681042e889f695ce7d54))
10+
* **api:** api update ([e11aff5](https://github.com/OneBusAway/python-sdk/commit/e11aff5e8aee29546c94b7c555bbe1383a1233b5))
11+
312
## 1.19.7 (2026-03-07)
413

514
Full Changelog: [v1.19.6...v1.19.7](https://github.com/OneBusAway/python-sdk/compare/v1.19.6...v1.19.7)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "onebusaway"
3-
version = "1.19.7"
3+
version = "1.20.0"
44
description = "The official Python library for the onebusaway-sdk API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/onebusaway/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "onebusaway"
4-
__version__ = "1.19.7" # x-release-please-version
4+
__version__ = "1.20.0" # x-release-please-version

src/onebusaway/types/schedule_for_route_retrieve_response.py

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,12 @@
1111
"ScheduleForRouteRetrieveResponse",
1212
"ScheduleForRouteRetrieveResponseData",
1313
"ScheduleForRouteRetrieveResponseDataEntry",
14-
"ScheduleForRouteRetrieveResponseDataEntryStop",
1514
"ScheduleForRouteRetrieveResponseDataEntryStopTripGrouping",
1615
"ScheduleForRouteRetrieveResponseDataEntryStopTripGroupingTripsWithStopTime",
1716
"ScheduleForRouteRetrieveResponseDataEntryStopTripGroupingTripsWithStopTimeStopTime",
18-
"ScheduleForRouteRetrieveResponseDataEntryTrip",
1917
]
2018

2119

22-
class ScheduleForRouteRetrieveResponseDataEntryStop(BaseModel):
23-
id: str
24-
25-
lat: float
26-
27-
location_type: int = FieldInfo(alias="locationType")
28-
29-
lon: float
30-
31-
name: str
32-
33-
parent: str
34-
35-
route_ids: List[str] = FieldInfo(alias="routeIds")
36-
37-
static_route_ids: List[str] = FieldInfo(alias="staticRouteIds")
38-
39-
code: Optional[str] = None
40-
41-
direction: Optional[str] = None
42-
43-
wheelchair_boarding: Optional[str] = FieldInfo(alias="wheelchairBoarding", default=None)
44-
45-
4620
class ScheduleForRouteRetrieveResponseDataEntryStopTripGroupingTripsWithStopTimeStopTime(BaseModel):
4721
arrival_enabled: bool = FieldInfo(alias="arrivalEnabled")
4822

@@ -83,45 +57,17 @@ class ScheduleForRouteRetrieveResponseDataEntryStopTripGrouping(BaseModel):
8357
] = FieldInfo(alias="tripsWithStopTimes", default=None)
8458

8559

86-
class ScheduleForRouteRetrieveResponseDataEntryTrip(BaseModel):
87-
id: str
88-
89-
route_id: str = FieldInfo(alias="routeId")
90-
91-
service_id: str = FieldInfo(alias="serviceId")
92-
93-
block_id: Optional[str] = FieldInfo(alias="blockId", default=None)
94-
95-
direction_id: Optional[str] = FieldInfo(alias="directionId", default=None)
96-
97-
peak_offpeak: Optional[int] = FieldInfo(alias="peakOffpeak", default=None)
98-
99-
route_short_name: Optional[str] = FieldInfo(alias="routeShortName", default=None)
100-
101-
shape_id: Optional[str] = FieldInfo(alias="shapeId", default=None)
102-
103-
time_zone: Optional[str] = FieldInfo(alias="timeZone", default=None)
104-
105-
trip_headsign: Optional[str] = FieldInfo(alias="tripHeadsign", default=None)
106-
107-
trip_short_name: Optional[str] = FieldInfo(alias="tripShortName", default=None)
108-
109-
11060
class ScheduleForRouteRetrieveResponseDataEntry(BaseModel):
11161
route_id: str = FieldInfo(alias="routeId")
11262

11363
schedule_date: int = FieldInfo(alias="scheduleDate")
11464

11565
service_ids: List[str] = FieldInfo(alias="serviceIds")
11666

117-
stops: List[ScheduleForRouteRetrieveResponseDataEntryStop]
118-
11967
stop_trip_groupings: List[ScheduleForRouteRetrieveResponseDataEntryStopTripGrouping] = FieldInfo(
12068
alias="stopTripGroupings"
12169
)
12270

123-
trips: List[ScheduleForRouteRetrieveResponseDataEntryTrip]
124-
12571

12672
class ScheduleForRouteRetrieveResponseData(BaseModel):
12773
entry: ScheduleForRouteRetrieveResponseDataEntry

src/onebusaway/types/stops_for_agency_list_response.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
from .shared.references import References
99
from .shared.response_wrapper import ResponseWrapper
1010

11-
__all__ = ["StopsForAgencyListResponse", "StopsForAgencyListResponseList"]
11+
__all__ = ["StopsForAgencyListResponse", "StopsForAgencyListResponseData", "StopsForAgencyListResponseDataList"]
1212

1313

14-
class StopsForAgencyListResponseList(BaseModel):
14+
class StopsForAgencyListResponseDataList(BaseModel):
1515
id: str
1616

1717
lat: float
@@ -35,11 +35,15 @@ class StopsForAgencyListResponseList(BaseModel):
3535
wheelchair_boarding: Optional[str] = FieldInfo(alias="wheelchairBoarding", default=None)
3636

3737

38-
class StopsForAgencyListResponse(ResponseWrapper):
38+
class StopsForAgencyListResponseData(BaseModel):
3939
limit_exceeded: bool = FieldInfo(alias="limitExceeded")
4040

41-
list: List[StopsForAgencyListResponseList]
41+
list: List[StopsForAgencyListResponseDataList]
4242

4343
references: References
4444

4545
out_of_range: Optional[bool] = FieldInfo(alias="outOfRange", default=None)
46+
47+
48+
class StopsForAgencyListResponse(ResponseWrapper):
49+
data: StopsForAgencyListResponseData

src/onebusaway/types/vehicles_for_agency_list_response.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,10 @@ class VehiclesForAgencyListResponseDataList(BaseModel):
150150

151151
last_update_time: int = FieldInfo(alias="lastUpdateTime")
152152

153-
location: VehiclesForAgencyListResponseDataListLocation
154-
155-
trip_id: str = FieldInfo(alias="tripId")
156-
157-
trip_status: VehiclesForAgencyListResponseDataListTripStatus = FieldInfo(alias="tripStatus")
158-
159153
vehicle_id: str = FieldInfo(alias="vehicleId")
160154

155+
location: Optional[VehiclesForAgencyListResponseDataListLocation] = None
156+
161157
occupancy_capacity: Optional[int] = FieldInfo(alias="occupancyCapacity", default=None)
162158

163159
occupancy_count: Optional[int] = FieldInfo(alias="occupancyCount", default=None)
@@ -168,6 +164,10 @@ class VehiclesForAgencyListResponseDataList(BaseModel):
168164

169165
status: Optional[str] = None
170166

167+
trip_id: Optional[str] = FieldInfo(alias="tripId", default=None)
168+
169+
trip_status: Optional[VehiclesForAgencyListResponseDataListTripStatus] = FieldInfo(alias="tripStatus", default=None)
170+
171171

172172
class VehiclesForAgencyListResponseData(BaseModel):
173173
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

0 commit comments

Comments
 (0)