Skip to content

Commit 3a419d0

Browse files
Merge pull request #356 from OneBusAway/release-please--branches--main--changes--next
release: 1.29.0
2 parents bd6e663 + 9d76804 commit 3a419d0

14 files changed

Lines changed: 95 additions & 115 deletions

.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.28.0"
2+
".": "1.29.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: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-e8511c379642404d73fd2ff068f81d845054108160ccd58343021bbd0b444a37.yml
3-
openapi_spec_hash: b8824d511c16ed314dc7cee996f4fd97
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit/open-transit-da4eecc88401fd486b0b8ac2a7b3f442748713e3128d878c7f3e24ea7f65f31d.yml
3+
openapi_spec_hash: 8df6b1871782bcd2bd8fb1fb2bbc2694
44
config_hash: c28ddf5b7754155603d9fd1c5fcaeeff

CHANGELOG.md

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

3+
## 1.29.0 (2026-07-11)
4+
5+
Full Changelog: [v1.28.0...v1.29.0](https://github.com/OneBusAway/python-sdk/compare/v1.28.0...v1.29.0)
6+
7+
### Features
8+
9+
* **api:** api update ([552140a](https://github.com/OneBusAway/python-sdk/commit/552140acb1d9b4cf77c22d309794a5ee65ab120f))
10+
311
## 1.28.0 (2026-07-09)
412

513
Full Changelog: [v1.27.0...v1.28.0](https://github.com/OneBusAway/python-sdk/compare/v1.27.0...v1.28.0)

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.28.0"
3+
version = "1.29.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.28.0" # x-release-please-version
4+
__version__ = "1.29.0" # x-release-please-version

src/onebusaway/resources/routes_for_location.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def with_streaming_response(self) -> RoutesForLocationResourceWithStreamingRespo
4444
def list(
4545
self,
4646
*,
47-
lat: float,
48-
lon: float,
47+
lat: float | Omit = omit,
4948
lat_span: float | Omit = omit,
49+
lon: float | Omit = omit,
5050
lon_span: float | Omit = omit,
5151
query: str | Omit = omit,
5252
radius: float | Omit = omit,
@@ -61,6 +61,10 @@ def list(
6161
routes-for-location
6262
6363
Args:
64+
lat: If omitted, defaults to 0.0.
65+
66+
lon: If omitted, defaults to 0.0.
67+
6468
extra_headers: Send extra headers
6569
6670
extra_query: Add additional query parameters to the request
@@ -79,8 +83,8 @@ def list(
7983
query=maybe_transform(
8084
{
8185
"lat": lat,
82-
"lon": lon,
8386
"lat_span": lat_span,
87+
"lon": lon,
8488
"lon_span": lon_span,
8589
"query": query,
8690
"radius": radius,
@@ -115,9 +119,9 @@ def with_streaming_response(self) -> AsyncRoutesForLocationResourceWithStreaming
115119
async def list(
116120
self,
117121
*,
118-
lat: float,
119-
lon: float,
122+
lat: float | Omit = omit,
120123
lat_span: float | Omit = omit,
124+
lon: float | Omit = omit,
121125
lon_span: float | Omit = omit,
122126
query: str | Omit = omit,
123127
radius: float | Omit = omit,
@@ -132,6 +136,10 @@ async def list(
132136
routes-for-location
133137
134138
Args:
139+
lat: If omitted, defaults to 0.0.
140+
141+
lon: If omitted, defaults to 0.0.
142+
135143
extra_headers: Send extra headers
136144
137145
extra_query: Add additional query parameters to the request
@@ -150,8 +158,8 @@ async def list(
150158
query=await async_maybe_transform(
151159
{
152160
"lat": lat,
153-
"lon": lon,
154161
"lat_span": lat_span,
162+
"lon": lon,
155163
"lon_span": lon_span,
156164
"query": query,
157165
"radius": radius,

src/onebusaway/resources/stops_for_location.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def with_streaming_response(self) -> StopsForLocationResourceWithStreamingRespon
4444
def list(
4545
self,
4646
*,
47-
lat: float,
48-
lon: float,
47+
lat: float | Omit = omit,
4948
lat_span: float | Omit = omit,
49+
lon: float | Omit = omit,
5050
lon_span: float | Omit = omit,
5151
query: str | Omit = omit,
5252
radius: float | Omit = omit,
@@ -61,8 +61,12 @@ def list(
6161
stops-for-location
6262
6363
Args:
64+
lat: If omitted, defaults to 0.0.
65+
6466
lat_span: An alternative to radius to set the search bounding box (optional)
6567
68+
lon: If omitted, defaults to 0.0.
69+
6670
lon_span: An alternative to radius to set the search bounding box (optional)
6771
6872
query: A search query string to filter the results
@@ -87,8 +91,8 @@ def list(
8791
query=maybe_transform(
8892
{
8993
"lat": lat,
90-
"lon": lon,
9194
"lat_span": lat_span,
95+
"lon": lon,
9296
"lon_span": lon_span,
9397
"query": query,
9498
"radius": radius,
@@ -123,9 +127,9 @@ def with_streaming_response(self) -> AsyncStopsForLocationResourceWithStreamingR
123127
async def list(
124128
self,
125129
*,
126-
lat: float,
127-
lon: float,
130+
lat: float | Omit = omit,
128131
lat_span: float | Omit = omit,
132+
lon: float | Omit = omit,
129133
lon_span: float | Omit = omit,
130134
query: str | Omit = omit,
131135
radius: float | Omit = omit,
@@ -140,8 +144,12 @@ async def list(
140144
stops-for-location
141145
142146
Args:
147+
lat: If omitted, defaults to 0.0.
148+
143149
lat_span: An alternative to radius to set the search bounding box (optional)
144150
151+
lon: If omitted, defaults to 0.0.
152+
145153
lon_span: An alternative to radius to set the search bounding box (optional)
146154
147155
query: A search query string to filter the results
@@ -166,8 +174,8 @@ async def list(
166174
query=await async_maybe_transform(
167175
{
168176
"lat": lat,
169-
"lon": lon,
170177
"lat_span": lat_span,
178+
"lon": lon,
171179
"lon_span": lon_span,
172180
"query": query,
173181
"radius": radius,

src/onebusaway/resources/trips_for_location.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ def with_streaming_response(self) -> TripsForLocationResourceWithStreamingRespon
4444
def list(
4545
self,
4646
*,
47-
lat: float,
4847
lat_span: float,
49-
lon: float,
5048
lon_span: float,
5149
include_schedule: bool | Omit = omit,
5250
include_trip: bool | Omit = omit,
51+
lat: float | Omit = omit,
52+
lon: float | Omit = omit,
5353
time: int | Omit = omit,
5454
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5555
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -62,12 +62,8 @@ def list(
6262
Retrieve trips for a given location
6363
6464
Args:
65-
lat: The latitude coordinate of the search center
66-
6765
lat_span: Latitude span of the search bounding box
6866
69-
lon: The longitude coordinate of the search center
70-
7167
lon_span: Longitude span of the search bounding box
7268
7369
include_schedule: Whether to include full schedule elements in the tripDetails section. Defaults
@@ -76,6 +72,10 @@ def list(
7672
include_trip: Whether to include full trip elements in the references section. Defaults to
7773
true.
7874
75+
lat: The latitude coordinate of the search center. If omitted, defaults to 0.0.
76+
77+
lon: The longitude coordinate of the search center. If omitted, defaults to 0.0.
78+
7979
time: Specific time for the query. Defaults to the current time.
8080
8181
extra_headers: Send extra headers
@@ -95,12 +95,12 @@ def list(
9595
timeout=timeout,
9696
query=maybe_transform(
9797
{
98-
"lat": lat,
9998
"lat_span": lat_span,
100-
"lon": lon,
10199
"lon_span": lon_span,
102100
"include_schedule": include_schedule,
103101
"include_trip": include_trip,
102+
"lat": lat,
103+
"lon": lon,
104104
"time": time,
105105
},
106106
trips_for_location_list_params.TripsForLocationListParams,
@@ -133,12 +133,12 @@ def with_streaming_response(self) -> AsyncTripsForLocationResourceWithStreamingR
133133
async def list(
134134
self,
135135
*,
136-
lat: float,
137136
lat_span: float,
138-
lon: float,
139137
lon_span: float,
140138
include_schedule: bool | Omit = omit,
141139
include_trip: bool | Omit = omit,
140+
lat: float | Omit = omit,
141+
lon: float | Omit = omit,
142142
time: int | Omit = omit,
143143
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
144144
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -151,12 +151,8 @@ async def list(
151151
Retrieve trips for a given location
152152
153153
Args:
154-
lat: The latitude coordinate of the search center
155-
156154
lat_span: Latitude span of the search bounding box
157155
158-
lon: The longitude coordinate of the search center
159-
160156
lon_span: Longitude span of the search bounding box
161157
162158
include_schedule: Whether to include full schedule elements in the tripDetails section. Defaults
@@ -165,6 +161,10 @@ async def list(
165161
include_trip: Whether to include full trip elements in the references section. Defaults to
166162
true.
167163
164+
lat: The latitude coordinate of the search center. If omitted, defaults to 0.0.
165+
166+
lon: The longitude coordinate of the search center. If omitted, defaults to 0.0.
167+
168168
time: Specific time for the query. Defaults to the current time.
169169
170170
extra_headers: Send extra headers
@@ -184,12 +184,12 @@ async def list(
184184
timeout=timeout,
185185
query=await async_maybe_transform(
186186
{
187-
"lat": lat,
188187
"lat_span": lat_span,
189-
"lon": lon,
190188
"lon_span": lon_span,
191189
"include_schedule": include_schedule,
192190
"include_trip": include_trip,
191+
"lat": lat,
192+
"lon": lon,
193193
"time": time,
194194
},
195195
trips_for_location_list_params.TripsForLocationListParams,

src/onebusaway/types/routes_for_location_list_params.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import Required, Annotated, TypedDict
5+
from typing_extensions import Annotated, TypedDict
66

77
from .._utils import PropertyInfo
88

99
__all__ = ["RoutesForLocationListParams"]
1010

1111

1212
class RoutesForLocationListParams(TypedDict, total=False):
13-
lat: Required[float]
14-
15-
lon: Required[float]
13+
lat: float
14+
"""If omitted, defaults to 0.0."""
1615

1716
lat_span: Annotated[float, PropertyInfo(alias="latSpan")]
1817

18+
lon: float
19+
"""If omitted, defaults to 0.0."""
20+
1921
lon_span: Annotated[float, PropertyInfo(alias="lonSpan")]
2022

2123
query: str

src/onebusaway/types/stops_for_location_list_params.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import Required, Annotated, TypedDict
5+
from typing_extensions import Annotated, TypedDict
66

77
from .._utils import PropertyInfo
88

99
__all__ = ["StopsForLocationListParams"]
1010

1111

1212
class StopsForLocationListParams(TypedDict, total=False):
13-
lat: Required[float]
14-
15-
lon: Required[float]
13+
lat: float
14+
"""If omitted, defaults to 0.0."""
1615

1716
lat_span: Annotated[float, PropertyInfo(alias="latSpan")]
1817
"""An alternative to radius to set the search bounding box (optional)"""
1918

19+
lon: float
20+
"""If omitted, defaults to 0.0."""
21+
2022
lon_span: Annotated[float, PropertyInfo(alias="lonSpan")]
2123
"""An alternative to radius to set the search bounding box (optional)"""
2224

0 commit comments

Comments
 (0)