@@ -57,6 +57,7 @@ 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 ,
6061 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6162 # The extra values given here take precedence over values defined on the client or passed to this method.
6263 extra_headers : Headers | None = None ,
@@ -86,6 +87,8 @@ def create(
8687
8788 parent_id: ID of the parent span if this is a child span in a trace
8889
90+ task_id: ID of the task this span belongs to
91+
8992 extra_headers: Send extra headers
9093
9194 extra_query: Add additional query parameters to the request
@@ -107,6 +110,7 @@ def create(
107110 "input" : input ,
108111 "output" : output ,
109112 "parent_id" : parent_id ,
113+ "task_id" : task_id ,
110114 },
111115 span_create_params .SpanCreateParams ,
112116 ),
@@ -160,6 +164,7 @@ def update(
160164 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
161165 parent_id : Optional [str ] | Omit = omit ,
162166 start_time : Union [str , datetime , None ] | Omit = omit ,
167+ task_id : Optional [str ] | Omit = omit ,
163168 trace_id : Optional [str ] | Omit = omit ,
164169 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
165170 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -186,6 +191,8 @@ def update(
186191
187192 start_time: The time the span started
188193
194+ task_id: ID of the task this span belongs to
195+
189196 trace_id: Unique identifier for the trace this span belongs to
190197
191198 extra_headers: Send extra headers
@@ -209,6 +216,7 @@ def update(
209216 "output" : output ,
210217 "parent_id" : parent_id ,
211218 "start_time" : start_time ,
219+ "task_id" : task_id ,
212220 "trace_id" : trace_id ,
213221 },
214222 span_update_params .SpanUpdateParams ,
@@ -300,6 +308,7 @@ async def create(
300308 input : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
301309 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
302310 parent_id : Optional [str ] | Omit = omit ,
311+ task_id : Optional [str ] | Omit = omit ,
303312 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
304313 # The extra values given here take precedence over values defined on the client or passed to this method.
305314 extra_headers : Headers | None = None ,
@@ -329,6 +338,8 @@ async def create(
329338
330339 parent_id: ID of the parent span if this is a child span in a trace
331340
341+ task_id: ID of the task this span belongs to
342+
332343 extra_headers: Send extra headers
333344
334345 extra_query: Add additional query parameters to the request
@@ -350,6 +361,7 @@ async def create(
350361 "input" : input ,
351362 "output" : output ,
352363 "parent_id" : parent_id ,
364+ "task_id" : task_id ,
353365 },
354366 span_create_params .SpanCreateParams ,
355367 ),
@@ -403,6 +415,7 @@ async def update(
403415 output : Union [Dict [str , object ], Iterable [Dict [str , object ]], None ] | Omit = omit ,
404416 parent_id : Optional [str ] | Omit = omit ,
405417 start_time : Union [str , datetime , None ] | Omit = omit ,
418+ task_id : Optional [str ] | Omit = omit ,
406419 trace_id : Optional [str ] | Omit = omit ,
407420 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
408421 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -429,6 +442,8 @@ async def update(
429442
430443 start_time: The time the span started
431444
445+ task_id: ID of the task this span belongs to
446+
432447 trace_id: Unique identifier for the trace this span belongs to
433448
434449 extra_headers: Send extra headers
@@ -452,6 +467,7 @@ async def update(
452467 "output" : output ,
453468 "parent_id" : parent_id ,
454469 "start_time" : start_time ,
470+ "task_id" : task_id ,
455471 "trace_id" : trace_id ,
456472 },
457473 span_update_params .SpanUpdateParams ,
0 commit comments