File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ def _retry_on_unavailable(exc):
9494
9595def setUpModule ():
9696 from google .cloud .exceptions import GrpcRendezvous
97+ from google .cloud .bigtable .enums import Instance
9798
9899 Config .IN_EMULATOR = os .getenv (BIGTABLE_EMULATOR ) is not None
99100
@@ -107,9 +108,10 @@ def setUpModule():
107108 Config .CLUSTER = Config .INSTANCE .cluster (
108109 CLUSTER_ID , location_id = LOCATION_ID , serve_nodes = SERVE_NODES )
109110 Config .INSTANCE_DATA = Config .CLIENT .instance (
110- INSTANCE_ID_DATA , labels = LABELS )
111+ INSTANCE_ID_DATA , instance_type = Instance .Type .DEVELOPMENT ,
112+ labels = LABELS )
111113 Config .CLUSTER_DATA = Config .INSTANCE_DATA .cluster (
112- CLUSTER_ID_DATA , location_id = LOCATION_ID , serve_nodes = SERVE_NODES )
114+ CLUSTER_ID_DATA , location_id = LOCATION_ID )
113115
114116 if not Config .IN_EMULATOR :
115117 retry = RetryErrors (GrpcRendezvous , error_predicate = _retry_on_unavailable )
You can’t perform that action at this time.
0 commit comments