Skip to content

Commit 05c6835

Browse files
committed
docs: correctly reference logging.Logger type
1 parent 6ef588b commit 05c6835

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/cloud/spanner_v1/database.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class Database(object):
103103
passed, the database will construct an instance of
104104
:class:`~google.cloud.spanner_v1.pool.BurstyPool`.
105105
106-
:type logger: `logging.Logger`
106+
:type logger: :class:`logging.Logger`
107107
:param logger: (Optional) a custom logger that is used if `log_commit_stats`
108108
is `True` to log commit statistics. If not passed, a logger
109109
will be created when needed that will log the commit statistics

google/cloud/spanner_v1/instance.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def database(self, database_id, ddl_statements=(), pool=None, logger=None):
371371
:class:`~google.cloud.spanner_v1.pool.AbstractSessionPool`.
372372
:param pool: (Optional) session pool to be used by database.
373373
374-
:type logger: `logging.Logger`
374+
:type logger: :class:`logging.Logger`
375375
:param logger: (Optional) a custom logger that is used if `log_commit_stats`
376376
is `True` to log commit statistics. If not passed, a logger
377377
will be created when needed that will log the commit statistics

0 commit comments

Comments
 (0)