@@ -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
@@ -138,7 +138,7 @@ def from_pb(cls, database_pb, instance, pool=None):
138138 """Creates an instance of this class from a protobuf.
139139
140140 :type database_pb:
141- :class:`~google.cloud.spanner_admin_instance_v1.Instance`
141+ :class:`~google.cloud.spanner_admin_instance_v1.types. Instance`
142142 :param database_pb: A instance protobuf object.
143143
144144 :type instance: :class:`~google.cloud.spanner_v1.instance.Instance`
@@ -199,7 +199,7 @@ def name(self):
199199 def state (self ):
200200 """State of this database.
201201
202- :rtype: :class:`~google.cloud.spanner_admin_database_v1.Database.State`
202+ :rtype: :class:`~google.cloud.spanner_admin_database_v1.types. Database.State`
203203 :returns: an enum describing the state of the database
204204 """
205205 return self ._state
@@ -218,7 +218,7 @@ def create_time(self):
218218 def restore_info (self ):
219219 """Restore info for this database.
220220
221- :rtype: :class:`~google.cloud.spanner_v1.database .RestoreInfo`
221+ :rtype: :class:`~google.cloud.spanner_v1.types .RestoreInfo`
222222 :returns: an object representing the restore info for this database
223223 """
224224 return self ._restore_info
@@ -310,7 +310,7 @@ def __ne__(self, other):
310310 def create (self ):
311311 """Create this database within its instance
312312
313- Inclues any configured schema assigned to :attr:`ddl_statements`.
313+ Includes any configured schema assigned to :attr:`ddl_statements`.
314314
315315 See
316316 https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase
@@ -429,12 +429,12 @@ def execute_partitioned_dml(
429429 required if parameters are passed.
430430
431431 :type query_options:
432- :class:`~google.cloud.spanner_v1.ExecuteSqlRequest.QueryOptions`
432+ :class:`~google.cloud.spanner_v1.types. ExecuteSqlRequest.QueryOptions`
433433 or :class:`dict`
434434 :param query_options:
435435 (Optional) Query optimizer configuration to use for the given query.
436436 If a dict is provided, it must be of the same form as the protobuf
437- message :class:`~google.cloud.spanner_v1.QueryOptions`
437+ message :class:`~google.cloud.spanner_v1.types. QueryOptions`
438438
439439 :rtype: int
440440 :returns: Count of rows affected by the DML statement.
@@ -568,7 +568,7 @@ def run_in_transaction(self, func, *args, **kw):
568568 :returns: The return value of ``func``.
569569
570570 :raises Exception:
571- reraises any non-ABORT execptions raised by ``func``.
571+ reraises any non-ABORT exceptions raised by ``func``.
572572 """
573573 # Sanity check: Is there a transaction already running?
574574 # If there is, then raise a red flag. Otherwise, mark that this one
@@ -895,7 +895,7 @@ def generate_read_batches(
895895
896896 :rtype: iterable of dict
897897 :returns:
898- mappings of information used peform actual partitioned reads via
898+ mappings of information used perform actual partitioned reads via
899899 :meth:`process_read_batch`.
900900 """
901901 partitions = self ._get_snapshot ().partition_read (
@@ -945,7 +945,7 @@ def generate_query_batches(
945945
946946 Uses the ``PartitionQuery`` API request to start a partitioned
947947 query operation. Returns a list of batch information needed to
948- peform the actual queries.
948+ perform the actual queries.
949949
950950 :type sql: str
951951 :param sql: SQL query statement
@@ -976,16 +976,16 @@ def generate_query_batches(
976976 differ.
977977
978978 :type query_options:
979- :class:`~google.cloud.spanner_v1.ExecuteSqlRequest.QueryOptions`
979+ :class:`~google.cloud.spanner_v1.types. ExecuteSqlRequest.QueryOptions`
980980 or :class:`dict`
981981 :param query_options:
982982 (Optional) Query optimizer configuration to use for the given query.
983983 If a dict is provided, it must be of the same form as the protobuf
984- message :class:`~google.cloud.spanner_v1.QueryOptions`
984+ message :class:`~google.cloud.spanner_v1.types. QueryOptions`
985985
986986 :rtype: iterable of dict
987987 :returns:
988- mappings of information used peform actual partitioned reads via
988+ mappings of information used perform actual partitioned reads via
989989 :meth:`process_read_batch`.
990990 """
991991 partitions = self ._get_snapshot ().partition_query (
@@ -1065,7 +1065,7 @@ def _check_ddl_statements(value):
10651065 https://cloud.google.com/spanner/docs/data-definition-language
10661066
10671067 :type value: list of string
1068- :param value: DDL statements, excluding the 'CREATE DATABSE ' statement
1068+ :param value: DDL statements, excluding the 'CREATE DATABASE ' statement
10691069
10701070 :rtype: tuple
10711071 :returns: tuple of validated DDL statement strings.
0 commit comments