Commit a5db9d5
authored
Simplifying Client constructor's for Bigtable and Spanner. (#3672)
* Simplifying Client constructor's for Bigtable and Spanner.
* Fixing Bigtable unit tests after Client re-factor.
Also slightly changing the Client constructor so that
it only called `with_scopes()` one time on the credentials
(was previously calling with `SCOPE=None` and then again with the
custom scope for the instance)
* Fixing Spanner unit tests after Client re-factor.
Also slightly changing the `copy()` method so that it
just passes the same credentials instance.
Also updating `nox` config to allow session `posargs`.
* Removing unused imports after Bigtable/Spanner Client re-factor.1 parent bbf7264 commit a5db9d5
File tree
3 files changed
+247
-203
lines changed- packages/google-cloud-bigtable
- google/cloud/bigtable
- tests/unit
3 files changed
+247
-203
lines changedLines changed: 27 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
43 | | - | |
| 40 | + | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
| |||
166 | 163 | | |
167 | 164 | | |
168 | 165 | | |
169 | | - | |
| 166 | + | |
170 | 167 | | |
171 | 168 | | |
172 | 169 | | |
173 | 170 | | |
174 | 171 | | |
175 | | - | |
| 172 | + | |
176 | 173 | | |
177 | 174 | | |
178 | 175 | | |
| |||
209 | 206 | | |
210 | 207 | | |
211 | 208 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 209 | | |
217 | 210 | | |
218 | 211 | | |
219 | 212 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 213 | + | |
| 214 | + | |
226 | 215 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 216 | | |
| 217 | + | |
232 | 218 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
237 | 224 | | |
238 | 225 | | |
239 | 226 | | |
| |||
244 | 231 | | |
245 | 232 | | |
246 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
| 50 | + | |
44 | 51 | | |
45 | 52 | | |
46 | 53 | | |
| |||
0 commit comments