Commit bf4b278
feat!: migrate to v2.0.0 (googleapis#147)
* chore: remove old generated files
* chore: remove type files
* refactor: move handwritten files to google/cloud/spanner
* chore: update synth.py
* chore: regen library via microgenerator
* fix: update imports to use new files
* fix: update _helper.py
* update backup.py
* fix: update batch.py
* fix: update param_types.py
* fix: update pool.py
* test: update test_keyset.py
* test: update test__opentelemetry_tracing.py
* fix: update client.py
* test: update test_client.py
* fix: update database.py
* test: update test_database.py
* fix: update commmit call missing kwarg
* test: update test_session.py
* fix: update streamed.py
* test: update TestStreamedResultSet tests in streamed.py
* fix: update instance.py
* test: update test_instance.py
* fix: add _parse_value method to _helper.py
* test: update test/_helper.py
* fix: update transaction.py and test_transaction.py
* fix: remove creating list_value_pb
* fix: update snapshot.py and test_snapshot.py
* fix: update setup.py
* fix: use struct pb for partition_query
* fix: support merging RepeatedComposite objects
* fix: replace dict with Statements
* fix: replace dict with Statements
* lint: format code
* fix: update synth.py
* chore: regen with gapic-generator v0.33.4
* test: increase test coverage
* fix: use backup pb instead of dict
* fix: update api calls to use supported kwargs
* fix: update api calls to use supported kwargs and remove unused function
* test: update system tests
* test: add tests for _parse_value function
* test: update empty list Value to correctly reflect the format
* refactor: use _parse_value in _parse_value_pb
* refactor: remove unneeded wrapper classes
* fix: use default retry (see golang) as ExecuteStreamingSql does not define retry settings
* refactor: remove unneeded wrapper class
* fix: use pb for params kwargs
* test: increase coverage
* test: correctly assert UNKNOWN error
* chore: remove unneeded replacesments and regen with gapic-generator v0.33.6
* fix: update kwarg to type_
* refactor: remove unused imports
* refactor: remove unused imports
* fix: update kwarg to all_
* fix: update kwarg to type_
* fix: update kwarg and attribute to type_
* fix: update kwarg to type_
* test: fix test name
* style: format code
* fix: update kwarg to type_
* fix: update api calls
* test: update param types to use param_types types
* test: update numeric tests
* test: remove unused variable
* refactor: remove unused import
* docs: update doc references
* test: increase test coverage
* chore: test with and without opentelemetry for full test coverage
* chore: regen samples README
* fix: update emulator Github action
* docs: manually fix typo that breaks docs
* docs: remove unsupported markdown and point to link with removed info
* docs: fix broken hyperlink
* chore: add replacement for docs formatting issue
* chore: regen library (via synth)
* chore: exclude noxfile.py from being generated
* refator: move handwritten files back into google/cloud/spanner_v1
* style: fix lint
* fix: update sample to use correct type
* fix: create alias for proto types
* fix: update imports
* test: update test to use proto-plus structures
* ci: update python version for emulator tests
* fix: update backup pagination example
* test: revert test_keyset for coverage
* test: fix expected ranges
* fix: ignore google/cloud/spanner_v1/__init__.py for regen
* chore: regen (via synth)
* docs: revert import changes
* refactor: address comments
* docs: add UPDATING guide
* refactor: revert imports
* feat: remove deprecated arguments
* docs: update guide to mention deprecated arguments
* test: lower required coverage to 99%
* test: remove deprecated options
* style: fix lint error
* Update UPGRADING.md
Co-authored-by: skuruppu <skuruppu@google.com>
Co-authored-by: larkee <larkee@users.noreply.github.com>
Co-authored-by: skuruppu <skuruppu@google.com>1 parent 783fffb commit bf4b278
183 files changed
Lines changed: 35546 additions & 27564 deletions
File tree
- .github
- workflows
- .kokoro
- docker/docs
- docs
- release
- samples
- python3.6
- python3.7
- python3.8
- docs
- gapic/v1
- spanner_admin_database_v1
- spanner_admin_instance_v1
- spanner_v1
- google/cloud
- spanner_admin_database_v1
- gapic
- transports
- proto
- services
- database_admin
- transports
- types
- spanner_admin_instance_v1
- gapic
- transports
- proto
- services
- instance_admin
- transports
- types
- spanner_v1
- gapic
- transports
- proto
- services
- spanner
- transports
- types
- samples/samples
- scripts
- tests
- system
- unit
- gapic
- spanner_admin_database_v1
- spanner_admin_instance_v1
- spanner_v1
- v1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
54 | 34 | | |
55 | 35 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
104 | | - | |
| 110 | + | |
0 commit comments