File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
packages/google-cloud-bigtable Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717
1818import re
1919
20+ from google .api .core import operation
2021from google .cloud .bigtable ._generated import (
2122 instance_pb2 as data_v2_pb2 )
2223from google .cloud .bigtable ._generated import (
2324 bigtable_instance_admin_pb2 as messages_v2_pb2 )
24- from google .cloud .future import operation
2525
2626_CLUSTER_NAME_RE = re .compile (r'^projects/(?P<project>[^/]+)/'
2727 r'instances/(?P<instance>[^/]+)/clusters/'
Original file line number Diff line number Diff line change 1717
1818import re
1919
20+ from google .api .core import operation
2021from google .cloud .bigtable ._generated import (
2122 instance_pb2 as data_v2_pb2 )
2223from google .cloud .bigtable ._generated import (
2627from google .cloud .bigtable .cluster import Cluster
2728from google .cloud .bigtable .cluster import DEFAULT_SERVE_NODES
2829from google .cloud .bigtable .table import Table
29- from google .cloud .future import operation
3030
3131
3232_EXISTING_INSTANCE_LOCATION_ID = 'see-existing-cluster'
Original file line number Diff line number Diff line change @@ -233,8 +233,8 @@ def test_reload(self):
233233 self .assertEqual (cluster .location , LOCATION )
234234
235235 def test_create (self ):
236+ from google .api .core import operation
236237 from google .longrunning import operations_pb2
237- from google .cloud .future import operation
238238 from google .cloud .bigtable ._generated import (
239239 bigtable_instance_admin_pb2 as messages_v2_pb2 )
240240 from tests .unit ._testing import _FakeStub
@@ -275,8 +275,8 @@ def test_create(self):
275275
276276 def test_update (self ):
277277 import datetime
278+ from google .api .core import operation
278279 from google .longrunning import operations_pb2
279- from google .cloud .future import operation
280280 from google .protobuf .any_pb2 import Any
281281 from google .cloud ._helpers import _datetime_to_pb_timestamp
282282 from google .cloud .bigtable ._generated import (
Original file line number Diff line number Diff line change @@ -232,13 +232,13 @@ def test_reload(self):
232232
233233 def test_create (self ):
234234 import datetime
235+ from google .api .core import operation
235236 from google .longrunning import operations_pb2
236237 from google .protobuf .any_pb2 import Any
237238 from google .cloud .bigtable ._generated import (
238239 bigtable_instance_admin_pb2 as messages_v2_pb2 )
239240 from google .cloud ._helpers import _datetime_to_pb_timestamp
240241 from tests .unit ._testing import _FakeStub
241- from google .cloud .future import operation
242242 from google .cloud .bigtable .cluster import DEFAULT_SERVE_NODES
243243
244244 NOW = datetime .datetime .utcnow ()
@@ -285,11 +285,11 @@ def test_create(self):
285285 self .assertEqual (kwargs , {})
286286
287287 def test_create_w_explicit_serve_nodes (self ):
288+ from google .api .core import operation
288289 from google .longrunning import operations_pb2
289290 from google .cloud .bigtable ._generated import (
290291 bigtable_instance_admin_pb2 as messages_v2_pb2 )
291292 from tests .unit ._testing import _FakeStub
292- from google .cloud .future import operation
293293
294294 SERVE_NODES = 5
295295
You can’t perform that action at this time.
0 commit comments