@@ -57,7 +57,6 @@ def create(
5757 input : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
5858 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
5959 parent_id : Optional [str ] | Omit = omit ,
60- task_id : Optional [str ] | Omit = omit ,
6160 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6261 # The extra values given here take precedence over values defined on the client or passed to this method.
6362 extra_headers : Headers | None = None ,
@@ -87,8 +86,6 @@ def create(
8786
8887 parent_id: ID of the parent span if this is a child span in a trace
8988
90- task_id: ID of the task this span belongs to
91-
9289 extra_headers: Send extra headers
9390
9491 extra_query: Add additional query parameters to the request
@@ -110,7 +107,6 @@ def create(
110107 "input" : input ,
111108 "output" : output ,
112109 "parent_id" : parent_id ,
113- "task_id" : task_id ,
114110 },
115111 span_create_params .SpanCreateParams ,
116112 ),
@@ -164,7 +160,6 @@ def update(
164160 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
165161 parent_id : Optional [str ] | Omit = omit ,
166162 start_time : Union [str , datetime , None ] | Omit = omit ,
167- task_id : Optional [str ] | Omit = omit ,
168163 trace_id : Optional [str ] | Omit = omit ,
169164 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
170165 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -191,8 +186,6 @@ def update(
191186
192187 start_time: The time the span started
193188
194- task_id: ID of the task this span belongs to
195-
196189 trace_id: Unique identifier for the trace this span belongs to
197190
198191 extra_headers: Send extra headers
@@ -216,7 +209,6 @@ def update(
216209 "output" : output ,
217210 "parent_id" : parent_id ,
218211 "start_time" : start_time ,
219- "task_id" : task_id ,
220212 "trace_id" : trace_id ,
221213 },
222214 span_update_params .SpanUpdateParams ,
@@ -234,7 +226,6 @@ def list(
234226 order_by : Optional [str ] | Omit = omit ,
235227 order_direction : str | Omit = omit ,
236228 page_number : int | Omit = omit ,
237- task_id : Optional [str ] | Omit = omit ,
238229 trace_id : Optional [str ] | Omit = omit ,
239230 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
240231 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -244,7 +235,7 @@ def list(
244235 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
245236 ) -> SpanListResponse :
246237 """
247- List spans, optionally filtered by trace_id and/or task_id
238+ List all spans for a given trace ID
248239
249240 Args:
250241 extra_headers: Send extra headers
@@ -268,7 +259,6 @@ def list(
268259 "order_by" : order_by ,
269260 "order_direction" : order_direction ,
270261 "page_number" : page_number ,
271- "task_id" : task_id ,
272262 "trace_id" : trace_id ,
273263 },
274264 span_list_params .SpanListParams ,
@@ -310,7 +300,6 @@ async def create(
310300 input : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
311301 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
312302 parent_id : Optional [str ] | Omit = omit ,
313- task_id : Optional [str ] | Omit = omit ,
314303 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
315304 # The extra values given here take precedence over values defined on the client or passed to this method.
316305 extra_headers : Headers | None = None ,
@@ -340,8 +329,6 @@ async def create(
340329
341330 parent_id: ID of the parent span if this is a child span in a trace
342331
343- task_id: ID of the task this span belongs to
344-
345332 extra_headers: Send extra headers
346333
347334 extra_query: Add additional query parameters to the request
@@ -363,7 +350,6 @@ async def create(
363350 "input" : input ,
364351 "output" : output ,
365352 "parent_id" : parent_id ,
366- "task_id" : task_id ,
367353 },
368354 span_create_params .SpanCreateParams ,
369355 ),
@@ -417,7 +403,6 @@ async def update(
417403 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
418404 parent_id : Optional [str ] | Omit = omit ,
419405 start_time : Union [str , datetime , None ] | Omit = omit ,
420- task_id : Optional [str ] | Omit = omit ,
421406 trace_id : Optional [str ] | Omit = omit ,
422407 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
423408 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -444,8 +429,6 @@ async def update(
444429
445430 start_time: The time the span started
446431
447- task_id: ID of the task this span belongs to
448-
449432 trace_id: Unique identifier for the trace this span belongs to
450433
451434 extra_headers: Send extra headers
@@ -469,7 +452,6 @@ async def update(
469452 "output" : output ,
470453 "parent_id" : parent_id ,
471454 "start_time" : start_time ,
472- "task_id" : task_id ,
473455 "trace_id" : trace_id ,
474456 },
475457 span_update_params .SpanUpdateParams ,
@@ -487,7 +469,6 @@ async def list(
487469 order_by : Optional [str ] | Omit = omit ,
488470 order_direction : str | Omit = omit ,
489471 page_number : int | Omit = omit ,
490- task_id : Optional [str ] | Omit = omit ,
491472 trace_id : Optional [str ] | Omit = omit ,
492473 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
493474 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -497,7 +478,7 @@ async def list(
497478 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
498479 ) -> SpanListResponse :
499480 """
500- List spans, optionally filtered by trace_id and/or task_id
481+ List all spans for a given trace ID
501482
502483 Args:
503484 extra_headers: Send extra headers
@@ -521,7 +502,6 @@ async def list(
521502 "order_by" : order_by ,
522503 "order_direction" : order_direction ,
523504 "page_number" : page_number ,
524- "task_id" : task_id ,
525505 "trace_id" : trace_id ,
526506 },
527507 span_list_params .SpanListParams ,
0 commit comments