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.21.0"
".": "1.22.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-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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.21.0"
version = "1.22.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.21.0" # x-release-please-version
__version__ = "1.22.0" # x-release-please-version
4 changes: 2 additions & 2 deletions src/onebusaway/types/arrival_and_departure_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down
4 changes: 2 additions & 2 deletions src/onebusaway/types/trip_detail_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down
4 changes: 2 additions & 2 deletions src/onebusaway/types/trip_for_vehicle_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down
4 changes: 2 additions & 2 deletions src/onebusaway/types/trips_for_location_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down Expand Up @@ -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."""
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 @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down
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 @@ -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."""
Expand Down Expand Up @@ -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."""
Expand Down