@@ -200,7 +200,7 @@ def test_mutation_set_cell(self, table, temp_rows):
200200 """Ensure cells can be set properly"""
201201 row_key = b"bulk_mutate"
202202 new_value = uuid .uuid4 ().hex .encode ()
203- ( row_key , mutation ) = self ._create_row_and_mutation (
203+ row_key , mutation = self ._create_row_and_mutation (
204204 table , temp_rows , new_value = new_value
205205 )
206206 table .mutate_row (row_key , mutation )
@@ -233,7 +233,7 @@ def test_bulk_mutations_set_cell(self, client, table, temp_rows):
233233 from google .cloud .bigtable .data .mutations import RowMutationEntry
234234
235235 new_value = uuid .uuid4 ().hex .encode ()
236- ( row_key , mutation ) = self ._create_row_and_mutation (
236+ row_key , mutation = self ._create_row_and_mutation (
237237 table , temp_rows , new_value = new_value
238238 )
239239 bulk_mutation = RowMutationEntry (row_key , [mutation ])
@@ -268,11 +268,11 @@ def test_mutations_batcher_context_manager(self, client, table, temp_rows):
268268 """test batcher with context manager. Should flush on exit"""
269269 from google .cloud .bigtable .data .mutations import RowMutationEntry
270270
271- ( new_value , new_value2 ) = [uuid .uuid4 ().hex .encode () for _ in range (2 )]
272- ( row_key , mutation ) = self ._create_row_and_mutation (
271+ new_value , new_value2 = [uuid .uuid4 ().hex .encode () for _ in range (2 )]
272+ row_key , mutation = self ._create_row_and_mutation (
273273 table , temp_rows , new_value = new_value
274274 )
275- ( row_key2 , mutation2 ) = self ._create_row_and_mutation (
275+ row_key2 , mutation2 = self ._create_row_and_mutation (
276276 table , temp_rows , new_value = new_value2
277277 )
278278 bulk_mutation = RowMutationEntry (row_key , [mutation ])
@@ -293,7 +293,7 @@ def test_mutations_batcher_timer_flush(self, client, table, temp_rows):
293293 from google .cloud .bigtable .data .mutations import RowMutationEntry
294294
295295 new_value = uuid .uuid4 ().hex .encode ()
296- ( row_key , mutation ) = self ._create_row_and_mutation (
296+ row_key , mutation = self ._create_row_and_mutation (
297297 table , temp_rows , new_value = new_value
298298 )
299299 bulk_mutation = RowMutationEntry (row_key , [mutation ])
@@ -315,12 +315,12 @@ def test_mutations_batcher_count_flush(self, client, table, temp_rows):
315315 """batch should flush after flush_limit_mutation_count mutations"""
316316 from google .cloud .bigtable .data .mutations import RowMutationEntry
317317
318- ( new_value , new_value2 ) = [uuid .uuid4 ().hex .encode () for _ in range (2 )]
319- ( row_key , mutation ) = self ._create_row_and_mutation (
318+ new_value , new_value2 = [uuid .uuid4 ().hex .encode () for _ in range (2 )]
319+ row_key , mutation = self ._create_row_and_mutation (
320320 table , temp_rows , new_value = new_value
321321 )
322322 bulk_mutation = RowMutationEntry (row_key , [mutation ])
323- ( row_key2 , mutation2 ) = self ._create_row_and_mutation (
323+ row_key2 , mutation2 = self ._create_row_and_mutation (
324324 table , temp_rows , new_value = new_value2
325325 )
326326 bulk_mutation2 = RowMutationEntry (row_key2 , [mutation2 ])
@@ -347,12 +347,12 @@ def test_mutations_batcher_bytes_flush(self, client, table, temp_rows):
347347 """batch should flush after flush_limit_bytes bytes"""
348348 from google .cloud .bigtable .data .mutations import RowMutationEntry
349349
350- ( new_value , new_value2 ) = [uuid .uuid4 ().hex .encode () for _ in range (2 )]
351- ( row_key , mutation ) = self ._create_row_and_mutation (
350+ new_value , new_value2 = [uuid .uuid4 ().hex .encode () for _ in range (2 )]
351+ row_key , mutation = self ._create_row_and_mutation (
352352 table , temp_rows , new_value = new_value
353353 )
354354 bulk_mutation = RowMutationEntry (row_key , [mutation ])
355- ( row_key2 , mutation2 ) = self ._create_row_and_mutation (
355+ row_key2 , mutation2 = self ._create_row_and_mutation (
356356 table , temp_rows , new_value = new_value2
357357 )
358358 bulk_mutation2 = RowMutationEntry (row_key2 , [mutation2 ])
@@ -378,11 +378,11 @@ def test_mutations_batcher_no_flush(self, client, table, temp_rows):
378378
379379 new_value = uuid .uuid4 ().hex .encode ()
380380 start_value = b"unchanged"
381- ( row_key , mutation ) = self ._create_row_and_mutation (
381+ row_key , mutation = self ._create_row_and_mutation (
382382 table , temp_rows , start_value = start_value , new_value = new_value
383383 )
384384 bulk_mutation = RowMutationEntry (row_key , [mutation ])
385- ( row_key2 , mutation2 ) = self ._create_row_and_mutation (
385+ row_key2 , mutation2 = self ._create_row_and_mutation (
386386 table , temp_rows , start_value = start_value , new_value = new_value
387387 )
388388 bulk_mutation2 = RowMutationEntry (row_key2 , [mutation2 ])
0 commit comments