File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/google-cloud-spanner Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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`.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments