@@ -310,7 +310,7 @@ def __ne__(self, other):
310
310
def create (self ):
311
311
"""Create this database within its instance
312
312
313
- Inclues any configured schema assigned to :attr:`ddl_statements`.
313
+ Includes any configured schema assigned to :attr:`ddl_statements`.
314
314
315
315
See
316
316
https://cloud.google.com/spanner/reference/rpc/google.spanner.admin.database.v1#google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase
@@ -568,7 +568,7 @@ def run_in_transaction(self, func, *args, **kw):
568
568
:returns: The return value of ``func``.
569
569
570
570
:raises Exception:
571
- reraises any non-ABORT execptions raised by ``func``.
571
+ reraises any non-ABORT exceptions raised by ``func``.
572
572
"""
573
573
# Sanity check: Is there a transaction already running?
574
574
# If there is, then raise a red flag. Otherwise, mark that this one
@@ -895,7 +895,7 @@ def generate_read_batches(
895
895
896
896
:rtype: iterable of dict
897
897
:returns:
898
- mappings of information used peform actual partitioned reads via
898
+ mappings of information used perform actual partitioned reads via
899
899
:meth:`process_read_batch`.
900
900
"""
901
901
partitions = self ._get_snapshot ().partition_read (
@@ -945,7 +945,7 @@ def generate_query_batches(
945
945
946
946
Uses the ``PartitionQuery`` API request to start a partitioned
947
947
query operation. Returns a list of batch information needed to
948
- peform the actual queries.
948
+ perform the actual queries.
949
949
950
950
:type sql: str
951
951
:param sql: SQL query statement
@@ -985,7 +985,7 @@ def generate_query_batches(
985
985
986
986
:rtype: iterable of dict
987
987
:returns:
988
- mappings of information used peform actual partitioned reads via
988
+ mappings of information used perform actual partitioned reads via
989
989
:meth:`process_read_batch`.
990
990
"""
991
991
partitions = self ._get_snapshot ().partition_query (
@@ -1065,7 +1065,7 @@ def _check_ddl_statements(value):
1065
1065
https://cloud.google.com/spanner/docs/data-definition-language
1066
1066
1067
1067
: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
1069
1069
1070
1070
:rtype: tuple
1071
1071
:returns: tuple of validated DDL statement strings.
0 commit comments