Skip to content

Commit 63febc8

Browse files
yoshi-automationtseaver
authored andcommitted
Blacken. (#6846)
1 parent e507b1b commit 63febc8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/google-cloud-spanner/google/cloud/spanner_v1/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def reload(self):
254254
response = api.get_database_ddl(self.name, metadata=metadata)
255255
self._ddl_statements = tuple(response.statements)
256256

257-
def update_ddl(self, ddl_statements, operation_id=''):
257+
def update_ddl(self, ddl_statements, operation_id=""):
258258
"""Update DDL for this database.
259259
260260
Apply any configured schema from :attr:`ddl_statements`.

packages/google-cloud-spanner/tests/system/test_system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,10 @@ def test_update_database_ddl_with_operation_id(self):
334334
# We want to make sure the operation completes.
335335
create_op.result(240) # raises on failure / timeout.
336336
# random but shortish always start with letter
337-
operation_id = 'a' + str(uuid.uuid4())[:8]
337+
operation_id = "a" + str(uuid.uuid4())[:8]
338338
operation = temp_db.update_ddl(DDL_STATEMENTS, operation_id=operation_id)
339339

340-
self.assertEqual(operation_id, operation.operation.name.split('/')[-1])
340+
self.assertEqual(operation_id, operation.operation.name.split("/")[-1])
341341

342342
# We want to make sure the operation completes.
343343
operation.result(240) # raises on failure / timeout.

packages/google-cloud-spanner/tests/unit/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def test_update_ddl_w_operation_id(self):
599599
pool = _Pool()
600600
database = self._make_one(self.DATABASE_ID, instance, pool=pool)
601601

602-
future = database.update_ddl(DDL_STATEMENTS, operation_id='someOperationId')
602+
future = database.update_ddl(DDL_STATEMENTS, operation_id="someOperationId")
603603

604604
self.assertIs(future, op_future)
605605

0 commit comments

Comments
 (0)