@@ -80,7 +80,7 @@ def __init__(
8080 metrics : Optional [bigframes .session .metrics .ExecutionMetrics ] = None ,
8181 enable_polars_execution : bool = False ,
8282 publisher : bigframes .core .events .Publisher ,
83- labels : Mapping [ str , str ] = {} ,
83+ labels : tuple [ tuple [ str , str ], ...] = () ,
8484 compiler_name : Literal ["ibis" , "sqlglot" ] = "ibis" ,
8585 cache : Optional [execution_cache .ExecutionCache ] = None ,
8686 ):
@@ -166,7 +166,7 @@ def execute(
166166 result = self ._export_gbq (
167167 array_value ,
168168 execution_spec .destination_spec ,
169- extra_labels = dict ( execution_spec .labels ) ,
169+ extra_labels = execution_spec .labels ,
170170 )
171171 self ._publisher .publish (
172172 bigframes .core .events .ExecutionFinished (
@@ -183,7 +183,7 @@ def execute(
183183 if isinstance (execution_spec .destination_spec , ex_spec .CacheSpec )
184184 else None ,
185185 must_create_table = not execution_spec .promise_under_10gb ,
186- extra_labels = dict ( execution_spec .labels ) ,
186+ extra_labels = execution_spec .labels ,
187187 )
188188 # post steps: export
189189 if isinstance (execution_spec .destination_spec , ex_spec .GcsOutputSpec ):
@@ -246,7 +246,7 @@ def _export_gbq(
246246 self ,
247247 array_value : bigframes .core .ArrayValue ,
248248 spec : ex_spec .TableOutputSpec ,
249- extra_labels : Mapping [ str , str ] = {} ,
249+ extra_labels : tuple [ tuple [ str , str ], ...] = () ,
250250 ) -> executor .ExecuteResult :
251251 """
252252 Export the ArrayValue to an existing BigQuery table.
@@ -365,7 +365,7 @@ def _run_execute_query(
365365 job_config : Optional [bq_job .QueryJobConfig ] = None ,
366366 query_with_job : bool = True ,
367367 session = None ,
368- extra_labels : Mapping [ str , str ] = {} ,
368+ extra_labels : tuple [ tuple [ str , str ], ...] = () ,
369369 ) -> Tuple [bq_table .RowIterator , Optional [bigquery .QueryJob ]]:
370370 """
371371 Starts BigQuery query job and waits for results.
0 commit comments