Skip to content

Commit 98e6b13

Browse files
committed
cleanup: Fix a few unrelated typos.
Signed-off-by: Taylor Curran <[email protected]>
1 parent 99d40cb commit 98e6b13

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

google/cloud/spanner_v1/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ def observability_options(self):
12531253
return opts
12541254

12551255
@property
1256-
def sessions_manager(self):
1256+
def sessions_manager(self) -> DatabaseSessionsManager:
12571257
"""Returns the database sessions manager.
12581258
12591259
:rtype: :class:`~google.cloud.spanner_v1.database_sessions_manager.DatabaseSessionsManager`

tests/unit/spanner_dbapi/test_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_w_implicit(self, mock_client):
6969
instance.database.assert_called_once_with(
7070
DATABASE, pool=None, database_role=None
7171
)
72-
# Datbase constructs its own pool
72+
# Database constructs its own pool
7373
self.assertIsNotNone(connection.database._pool)
7474
self.assertTrue(connection.instance._client.route_to_leader_enabled)
7575

tests/unit/test_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from opentelemetry import metrics
2828

2929
pytest.importorskip("opentelemetry")
30-
# Skip if semconv attributes are not present, as tracing wont' be enabled either
30+
# Skip if semconv attributes are not present, as tracing won't be enabled either
3131
# pytest.importorskip("opentelemetry.semconv.attributes.otel_attributes")
3232

3333

0 commit comments

Comments
 (0)