This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Commit 9535e5e
feat: add support for experimental host (#1452)
* feat: add support for experimental host
* fix lint issues
* fixed unit tests
* added docmentation for new client option
---------
Co-authored-by: rahul2393 <irahul@google.com>1 parent d51a7a8 commit 9535e5eCopy full SHA for 9535e5e
14 files changed
+128-13Lines changed: 128 additions & 13 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- google/cloud
- spanner_dbapi
- spanner_v1
- testing
- tests
- system
- unit
Expand file treeCollapse file tree
Open diff view settings
Collapse file
google/cloud/spanner_dbapi/connection.py
Copy file name to clipboardExpand all lines: google/cloud/spanner_dbapi/connection.py+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
18 | 19 | |
19 | 20 | |
20 | 21 | |
| ||
734 | 735 | |
735 | 736 | |
736 | 737 | |
| 738 | + |
737 | 739 | |
738 | 740 | |
739 | 741 | |
| ||
805 | 807 | |
806 | 808 | |
807 | 809 | |
| 810 | + |
| 811 | + |
| 812 | + |
| 813 | + |
808 | 814 | |
809 | 815 | |
810 | 816 | |
|
Collapse file
google/cloud/spanner_v1/client.py
Copy file name to clipboardExpand all lines: google/cloud/spanner_v1/client.py+28Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
176 | 176 | |
177 | 177 | |
178 | 178 | |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
179 | 184 | |
180 | 185 | |
181 | 186 | |
| ||
200 | 205 | |
201 | 206 | |
202 | 207 | |
| 208 | + |
203 | 209 | |
204 | 210 | |
| 211 | + |
205 | 212 | |
206 | 213 | |
207 | 214 | |
| ||
212 | 219 | |
213 | 220 | |
214 | 221 | |
| 222 | + |
| 223 | + |
215 | 224 | |
216 | 225 | |
217 | 226 | |
| ||
324 | 333 | |
325 | 334 | |
326 | 335 | |
| 336 | + |
| 337 | + |
| 338 | + |
| 339 | + |
| 340 | + |
| 341 | + |
| 342 | + |
| 343 | + |
| 344 | + |
327 | 345 | |
328 | 346 | |
329 | 347 | |
| ||
345 | 363 | |
346 | 364 | |
347 | 365 | |
| 366 | + |
| 367 | + |
| 368 | + |
| 369 | + |
| 370 | + |
| 371 | + |
| 372 | + |
| 373 | + |
| 374 | + |
348 | 375 | |
349 | 376 | |
350 | 377 | |
| ||
485 | 512 | |
486 | 513 | |
487 | 514 | |
| 515 | + |
488 | 516 | |
489 | 517 | |
490 | 518 | |
|
Collapse file
google/cloud/spanner_v1/database.py
Copy file name to clipboardExpand all lines: google/cloud/spanner_v1/database.py+14-1Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
203 | 203 | |
204 | 204 | |
205 | 205 | |
| 206 | + |
206 | 207 | |
207 | | - |
| 208 | + |
| 209 | + |
| 210 | + |
208 | 211 | |
209 | 212 | |
210 | 213 | |
| ||
449 | 452 | |
450 | 453 | |
451 | 454 | |
| 455 | + |
| 456 | + |
| 457 | + |
| 458 | + |
| 459 | + |
| 460 | + |
| 461 | + |
| 462 | + |
| 463 | + |
| 464 | + |
452 | 465 | |
453 | 466 | |
454 | 467 | |
|
Collapse file
google/cloud/spanner_v1/database_sessions_manager.py
Copy file name to clipboardExpand all lines: google/cloud/spanner_v1/database_sessions_manager.py+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
| 65 | + |
66 | 66 | |
67 | 67 | |
| 68 | + |
68 | 69 | |
69 | 70 | |
70 | 71 | |
| ||
88 | 89 | |
89 | 90 | |
90 | 91 | |
91 | | - |
| 92 | + |
92 | 93 | |
93 | 94 | |
94 | 95 | |
|
Collapse file
google/cloud/spanner_v1/instance.py
Copy file name to clipboardExpand all lines: google/cloud/spanner_v1/instance.py+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
122 | 122 | |
123 | 123 | |
124 | 124 | |
| 125 | + |
125 | 126 | |
126 | 127 | |
127 | 128 | |
| ||
142 | 143 | |
143 | 144 | |
144 | 145 | |
| 146 | + |
145 | 147 | |
146 | 148 | |
147 | 149 | |
|
Collapse file
google/cloud/spanner_v1/testing/database_test.py
Copy file name to clipboardExpand all lines: google/cloud/spanner_v1/testing/database_test.py+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
86 | 86 | |
87 | 87 | |
88 | 88 | |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
89 | 101 | |
90 | 102 | |
91 | 103 | |
|
Collapse file
+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
59 | 65 | |
60 | 66 | |
61 | 67 | |
|
Collapse file
+18-2Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
52 | 58 | |
53 | 59 | |
54 | 60 | |
| ||
104 | 110 | |
105 | 111 | |
106 | 112 | |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
107 | 122 | |
108 | 123 | |
109 | 124 | |
| ||
130 | 145 | |
131 | 146 | |
132 | 147 | |
133 | | - |
| 148 | + |
| 149 | + |
134 | 150 | |
135 | 151 | |
136 | 152 | |
137 | 153 | |
138 | 154 | |
139 | 155 | |
140 | 156 | |
141 | | - |
| 157 | + |
142 | 158 | |
143 | 159 | |
144 | 160 | |
|
Collapse file
tests/system/test_backup_api.py
Copy file name to clipboardExpand all lines: tests/system/test_backup_api.py+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
| 29 | + |
| 30 | + |
| 31 | + |
29 | 32 | |
30 | 33 | |
31 | 34 | |
32 | 35 | |
| 36 | + |
| 37 | + |
| 38 | + |
33 | 39 | |
34 | 40 | |
35 | 41 | |
|
Collapse file
tests/system/test_database_api.py
Copy file name to clipboardExpand all lines: tests/system/test_database_api.py+15-2Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | | - |
| 50 | + |
| 51 | + |
| 52 | + |
51 | 53 | |
52 | 54 | |
53 | 55 | |
| ||
97 | 99 | |
98 | 100 | |
99 | 101 | |
| 102 | + |
100 | 103 | |
101 | 104 | |
102 | 105 | |
| ||
130 | 133 | |
131 | 134 | |
132 | 135 | |
| 136 | + |
133 | 137 | |
134 | 138 | |
135 | 139 | |
| ||
217 | 221 | |
218 | 222 | |
219 | 223 | |
| 224 | + |
220 | 225 | |
221 | 226 | |
222 | 227 | |
| ||
253 | 258 | |
254 | 259 | |
255 | 260 | |
| 261 | + |
256 | 262 | |
257 | 263 | |
258 | 264 | |
| ||
414 | 420 | |
415 | 421 | |
416 | 422 | |
| 423 | + |
417 | 424 | |
418 | 425 | |
419 | 426 | |
| ||
448 | 455 | |
449 | 456 | |
450 | 457 | |
| 458 | + |
451 | 459 | |
452 | 460 | |
453 | 461 | |
| ||
514 | 522 | |
515 | 523 | |
516 | 524 | |
| 525 | + |
517 | 526 | |
518 | 527 | |
519 | 528 | |
| ||
757 | 766 | |
758 | 767 | |
759 | 768 | |
760 | | - |
| 769 | + |
| 770 | + |
| 771 | + |
| 772 | + |
| 773 | + |
761 | 774 | |
762 | 775 | |
763 | 776 | |
|
0 commit comments