Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 4971e59

Browse files
committed
merge remote/main into fix/test-failures and resolve conflicts
2 parents a6c1bf4 + 12773d7 commit 4971e59

36 files changed

+575
-155
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
66
# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json.
77

8-
# @googleapis/yoshi-python @googleapis/spanner-client-libraries-python are the default owners for changes in this repo
9-
* @googleapis/yoshi-python @googleapis/spanner-client-libraries-python
8+
# @googleapis/cloud-sdk-python-team @googleapis/spanner-team are the default owners for changes in this repo
9+
* @googleapis/cloud-sdk-python-team @googleapis/spanner-team
1010

11-
# @googleapis/python-samples-reviewers @googleapis/spanner-client-libraries-python are the default owners for samples changes
12-
/samples/ @googleapis/python-samples-reviewers @googleapis/spanner-client-libraries-python
11+
# @googleapis/python-samples-reviewers @googleapis/spanner-team are the default owners for samples changes
12+
/samples/ @googleapis/python-samples-reviewers @googleapis/spanner-team

.github/blunderbuss.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
# Note: This file is autogenerated. To make changes to the assignee
55
# team, please update `codeowner_team` in `.repo-metadata.json`.
66
assign_issues:
7-
- googleapis/spanner-client-libraries-python
7+
- googleapis/spanner-team
88

99
assign_issues_by:
1010
- labels:
1111
- "samples"
1212
to:
1313
- googleapis/python-samples-reviewers
14-
- googleapis/spanner-client-libraries-python
14+
- googleapis/spanner-team
1515

1616
assign_prs:
17-
- googleapis/spanner-client-libraries-python
17+
- googleapis/spanner-team

.kokoro/presubmit/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Only run a subset of all nox sessions
44
env_vars: {
55
key: "NOX_SESSION"
6-
value: "unit-3.12 cover docs docfx"
6+
value: "unit-3.10 unit-3.12 cover docs docfx"
77
}

.librarian/generator-input/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"api_id": "spanner.googleapis.com",
1313
"requires_billing": true,
1414
"default_version": "v1",
15-
"codeowner_team": "@googleapis/spanner-client-libraries-python",
15+
"codeowner_team": "@googleapis/spanner-team",
1616
"api_shortname": "spanner",
1717
"api_description": "is a fully managed, mission-critical, \nrelational database service that offers transactional consistency at global scale, \nschemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication \nfor high availability.\n\nBe sure to activate the Cloud Spanner API on the Developer's Console to\nuse Cloud Spanner from your project."
1818
}

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
22
libraries:
33
- id: google-cloud-spanner
4-
version: 3.62.0
4+
version: 3.63.0
55
last_generated_commit: a17b84add8318f780fcc8a027815d5fee644b9f7
66
apis:
77
- path: google/spanner/admin/instance/v1

.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"api_id": "spanner.googleapis.com",
1313
"requires_billing": true,
1414
"default_version": "v1",
15-
"codeowner_team": "@googleapis/spanner-client-libraries-python",
15+
"codeowner_team": "@googleapis/spanner-team",
1616
"api_shortname": "spanner",
1717
"api_description": "is a fully managed, mission-critical, \nrelational database service that offers transactional consistency at global scale, \nschemas, SQL (ANSI 2011 with extensions), and automatic, synchronous replication \nfor high availability.\n\nBe sure to activate the Cloud Spanner API on the Developer's Console to\nuse Cloud Spanner from your project."
1818
}

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44

55
[1]: https://pypi.org/project/google-cloud-spanner/#history
66

7+
## [3.63.0](https://github.com/googleapis/python-spanner/compare/v3.62.0...v3.63.0) (2026-02-13)
8+
9+
10+
### Documentation
11+
12+
* snippet for setting read lock mode (#1473) ([7e79920cfc8be76261dea1348931b0ef539dd6e1](https://github.com/googleapis/python-spanner/commit/7e79920cfc8be76261dea1348931b0ef539dd6e1))
13+
14+
15+
### Features
16+
17+
* add requestID info in error exceptions (#1415) ([2c5eb96c4b395f84b60aba1c584ff195dbce4617](https://github.com/googleapis/python-spanner/commit/2c5eb96c4b395f84b60aba1c584ff195dbce4617))
18+
19+
20+
### Bug Fixes
21+
22+
* prevent thread leak by ensuring singleton initialization (#1492) ([e792136aa487f327736e01e34afe01cf2015f5a0](https://github.com/googleapis/python-spanner/commit/e792136aa487f327736e01e34afe01cf2015f5a0))
23+
724
## [3.62.0](https://github.com/googleapis/python-spanner/compare/v3.61.0...v3.62.0) (2026-01-14)
825

926

google/cloud/spanner_admin_database_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.62.0" # {x-release-please-version}
16+
__version__ = "3.63.0" # {x-release-please-version}

google/cloud/spanner_admin_instance_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.62.0" # {x-release-please-version}
16+
__version__ = "3.63.0" # {x-release-please-version}

google/cloud/spanner_dbapi/connection.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,10 @@ def connect(
736736
route_to_leader_enabled=True,
737737
database_role=None,
738738
experimental_host=None,
739+
use_plain_text=False,
740+
ca_certificate=None,
741+
client_certificate=None,
742+
client_key=None,
739743
**kwargs,
740744
):
741745
"""Creates a connection to a Google Cloud Spanner database.
@@ -789,6 +793,28 @@ def connect(
789793
:rtype: :class:`google.cloud.spanner_dbapi.connection.Connection`
790794
:returns: Connection object associated with the given Google Cloud Spanner
791795
resource.
796+
797+
:type experimental_host: str
798+
:param experimental_host: (Optional) The endpoint for a spanner experimental host deployment.
799+
This is intended only for experimental host spanner endpoints.
800+
801+
:type use_plain_text: bool
802+
:param use_plain_text: (Optional) Whether to use plain text for the connection.
803+
This is intended only for experimental host spanner endpoints.
804+
If not set, the default behavior is to use TLS.
805+
806+
:type ca_certificate: str
807+
:param ca_certificate: (Optional) The path to the CA certificate file used for TLS connection.
808+
This is intended only for experimental host spanner endpoints.
809+
This is mandatory if the experimental_host requires a TLS connection.
810+
:type client_certificate: str
811+
:param client_certificate: (Optional) The path to the client certificate file used for mTLS connection.
812+
This is intended only for experimental host spanner endpoints.
813+
This is mandatory if the experimental_host requires an mTLS connection.
814+
:type client_key: str
815+
:param client_key: (Optional) The path to the client key file used for mTLS connection.
816+
This is intended only for experimental host spanner endpoints.
817+
This is mandatory if the experimental_host requires an mTLS connection.
792818
"""
793819
if client is None:
794820
client_info = ClientInfo(
@@ -817,6 +843,10 @@ def connect(
817843
client_info=client_info,
818844
route_to_leader_enabled=route_to_leader_enabled,
819845
client_options=client_options,
846+
use_plain_text=use_plain_text,
847+
ca_certificate=ca_certificate,
848+
client_certificate=client_certificate,
849+
client_key=client_key,
820850
)
821851
else:
822852
if project is not None and client.project != project:

0 commit comments

Comments
 (0)