Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.20.0"
".": "1.21.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 29
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-22e1c98416f77779b2c07db272016be0b623b94f6b55cca2d1909f9dc4032c3f.yml
openapi_spec_hash: dd25fff6bc185752d92e93f6e47d3a5e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-0c305d11543f8fc11bd55586c4dc4a724b10de1898cab0fe11364b4db6455752.yml
openapi_spec_hash: 6d10c2ac411cd65f30d200f298577b32
config_hash: 3871f5d21bb38ddd334ec04721dea64d
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 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)

### Features

* **api:** api update ([9e0b66c](https://github.com/OneBusAway/python-sdk/commit/9e0b66ce6927ef0060c6cb81bafd576915c9803f))

## 1.20.0 (2026-03-09)

Full Changelog: [v1.19.7...v1.20.0](https://github.com/OneBusAway/python-sdk/compare/v1.19.7...v1.20.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "onebusaway"
version = "1.20.0"
version = "1.21.0"
description = "The official Python library for the onebusaway-sdk API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/onebusaway/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "onebusaway"
__version__ = "1.20.0" # x-release-please-version
__version__ = "1.21.0" # x-release-please-version
6 changes: 3 additions & 3 deletions src/onebusaway/types/agencies_with_coverage_list_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List
from typing import List, Optional

from pydantic import Field as FieldInfo

Expand Down Expand Up @@ -28,12 +28,12 @@ class AgenciesWithCoverageListResponseDataList(BaseModel):


class AgenciesWithCoverageListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[AgenciesWithCoverageListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class AgenciesWithCoverageListResponse(ResponseWrapper):
data: AgenciesWithCoverageListResponseData
2 changes: 0 additions & 2 deletions src/onebusaway/types/agency_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ class AgencyRetrieveResponseDataEntry(BaseModel):
class AgencyRetrieveResponseData(BaseModel):
entry: AgencyRetrieveResponseDataEntry

limit_exceeded: bool = FieldInfo(alias="limitExceeded")

references: References


Expand Down
6 changes: 3 additions & 3 deletions src/onebusaway/types/route_ids_for_agency_list_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List
from typing import List, Optional

from pydantic import Field as FieldInfo

Expand All @@ -12,12 +12,12 @@


class RouteIDsForAgencyListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[str]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class RouteIDsForAgencyListResponse(ResponseWrapper):
data: RouteIDsForAgencyListResponseData
4 changes: 2 additions & 2 deletions src/onebusaway/types/routes_for_agency_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ class RoutesForAgencyListResponseDataList(BaseModel):


class RoutesForAgencyListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[RoutesForAgencyListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class RoutesForAgencyListResponse(ResponseWrapper):
data: RoutesForAgencyListResponseData
4 changes: 2 additions & 2 deletions src/onebusaway/types/routes_for_location_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ class RoutesForLocationListResponseDataList(BaseModel):


class RoutesForLocationListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[RoutesForLocationListResponseDataList]

out_of_range: bool = FieldInfo(alias="outOfRange")

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class RoutesForLocationListResponse(ResponseWrapper):
data: RoutesForLocationListResponseData
4 changes: 2 additions & 2 deletions src/onebusaway/types/search_for_route_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ class SearchForRouteListResponseDataList(BaseModel):


class SearchForRouteListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[SearchForRouteListResponseDataList]

out_of_range: bool = FieldInfo(alias="outOfRange")

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class SearchForRouteListResponse(ResponseWrapper):
data: Optional[SearchForRouteListResponseData] = None
4 changes: 2 additions & 2 deletions src/onebusaway/types/search_for_stop_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ class SearchForStopListResponseDataList(BaseModel):


class SearchForStopListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[SearchForStopListResponseDataList]

out_of_range: bool = FieldInfo(alias="outOfRange")

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class SearchForStopListResponse(ResponseWrapper):
data: Optional[SearchForStopListResponseData] = None
5 changes: 1 addition & 4 deletions src/onebusaway/types/shared/references.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional
from typing_extensions import Literal

from pydantic import Field as FieldInfo

Expand Down Expand Up @@ -181,9 +180,7 @@ class Situation(BaseModel):
alias="publicationWindows", default=None
)

reason: Optional[
Literal["equipmentReason", "environmentReason", "personnelReason", "miscellaneousReason", "securityAlert"]
] = None
reason: Optional[str] = None
"""Reason for the service alert, taken from TPEG codes."""

severity: Optional[str] = None
Expand Down
6 changes: 3 additions & 3 deletions src/onebusaway/types/stop_ids_for_agency_list_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List
from typing import List, Optional

from pydantic import Field as FieldInfo

Expand All @@ -12,12 +12,12 @@


class StopIDsForAgencyListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[str]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class StopIDsForAgencyListResponse(ResponseWrapper):
data: StopIDsForAgencyListResponseData
4 changes: 2 additions & 2 deletions src/onebusaway/types/stops_for_agency_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ class StopsForAgencyListResponseDataList(BaseModel):


class StopsForAgencyListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[StopsForAgencyListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)

out_of_range: Optional[bool] = FieldInfo(alias="outOfRange", default=None)


Expand Down
4 changes: 2 additions & 2 deletions src/onebusaway/types/stops_for_location_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ class StopsForLocationListResponseDataList(BaseModel):


class StopsForLocationListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[StopsForLocationListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)

out_of_range: Optional[bool] = FieldInfo(alias="outOfRange", default=None)


Expand Down
6 changes: 3 additions & 3 deletions src/onebusaway/types/trips_for_location_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ class TripsForLocationListResponseDataList(BaseModel):


class TripsForLocationListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")
"""Indicates if the limit of trips has been exceeded"""

list: List[TripsForLocationListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)
"""Indicates if the limit of trips has been exceeded"""

out_of_range: Optional[bool] = FieldInfo(alias="outOfRange", default=None)
"""Indicates if the search location is out of range"""

Expand Down
4 changes: 2 additions & 2 deletions src/onebusaway/types/trips_for_route_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ class TripsForRouteListResponseDataList(BaseModel):


class TripsForRouteListResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[TripsForRouteListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class TripsForRouteListResponse(ResponseWrapper):
data: TripsForRouteListResponseData
4 changes: 2 additions & 2 deletions src/onebusaway/types/vehicles_for_agency_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ class VehiclesForAgencyListResponseDataList(BaseModel):


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

list: List[VehiclesForAgencyListResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class VehiclesForAgencyListResponse(ResponseWrapper):
data: VehiclesForAgencyListResponseData