@@ -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 ,
0 commit comments