@@ -62,7 +62,7 @@ def execute_with_instana(
6262 args : Tuple [object , ...],
6363 kwargs : Dict [str , Any ],
6464 ) -> object :
65- tracer , parent_span , _ = get_tracer_tuple ()
65+ tracer , _ , _ = get_tracer_tuple ()
6666
6767 # batch requests are traced with finish_batch_with_instana()
6868 # also return early if we're not tracing
@@ -94,7 +94,7 @@ def download_with_instana(
9494 args : Tuple [object , ...],
9595 kwargs : Dict [str , Any ],
9696 ) -> object :
97- tracer , parent_span , _ = get_tracer_tuple ()
97+ tracer , _ , _ = get_tracer_tuple ()
9898 # return early if we're not tracing
9999 if not tracer :
100100 return wrapped (* args , ** kwargs )
@@ -130,7 +130,7 @@ def upload_with_instana(
130130 args : Tuple [object , ...],
131131 kwargs : Dict [str , Any ],
132132 ) -> object :
133- tracer , parent_span , _ = get_tracer_tuple ()
133+ tracer , _ , _ = get_tracer_tuple ()
134134 # return early if we're not tracing
135135 if not tracer :
136136 return wrapped (* args , ** kwargs )
@@ -155,7 +155,7 @@ def finish_batch_with_instana(
155155 args : Tuple [object , ...],
156156 kwargs : Dict [str , Any ],
157157 ) -> object :
158- tracer , parent_span , _ = get_tracer_tuple ()
158+ tracer , _ , _ = get_tracer_tuple ()
159159 # return early if we're not tracing
160160 if not tracer :
161161 return wrapped (* args , ** kwargs )
0 commit comments