Skip to content

Commit

Permalink
Fix repeated spelling error (#3260)
Browse files Browse the repository at this point in the history
* Fix repeated spelling error

s/paramter/parameter

* Fix mistaken typo
  • Loading branch information
kkinder authored and dhermes committed Apr 3, 2017
1 parent 79981f2 commit 5a5d84b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions bigquery/google/cloud/bigquery/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class AbstractQueryParameter(object):
"""
@classmethod
def from_api_repr(cls, resource):
"""Factory: construct paramter from JSON resource.
"""Factory: construct parameter from JSON resource.
:type resource: dict
:param resource: JSON mapping of parameter
Expand All @@ -364,7 +364,7 @@ class ScalarQueryParameter(AbstractQueryParameter):
:type name: str or None
:param name: Parameter name, used via ``@foo`` syntax. If None, the
paramter can only be addressed via position (``?``).
parameter can only be addressed via position (``?``).
:type type_: str
:param type_: name of parameter type. One of 'STRING', 'INT64',
Expand All @@ -381,11 +381,11 @@ def __init__(self, name, type_, value):

@classmethod
def positional(cls, type_, value):
"""Factory for positional paramters.
"""Factory for positional paramater.
:type type_: str
:param type_:
name of paramter type. One of 'STRING', 'INT64',
name of parameter type. One of 'STRING', 'INT64',
'FLOAT64', 'BOOL', 'TIMESTAMP', 'DATETIME', or 'DATE'.
:type value: str, int, float, bool, :class:`datetime.datetime`, or
Expand All @@ -399,7 +399,7 @@ def positional(cls, type_, value):

@classmethod
def from_api_repr(cls, resource):
"""Factory: construct paramter from JSON resource.
"""Factory: construct parameter from JSON resource.
:type resource: dict
:param resource: JSON mapping of parameter
Expand Down Expand Up @@ -441,7 +441,7 @@ class ArrayQueryParameter(AbstractQueryParameter):
:type name: str or None
:param name: Parameter name, used via ``@foo`` syntax. If None, the
paramter can only be addressed via position (``?``).
parameter can only be addressed via position (``?``).
:type array_type: str
:param array_type:
Expand All @@ -458,7 +458,7 @@ def __init__(self, name, array_type, values):

@classmethod
def positional(cls, array_type, values):
"""Factory for positional paramters.
"""Factory for positional parameters.
:type array_type: str
:param array_type:
Expand All @@ -475,7 +475,7 @@ def positional(cls, array_type, values):

@classmethod
def from_api_repr(cls, resource):
"""Factory: construct paramter from JSON resource.
"""Factory: construct parameter from JSON resource.
:type resource: dict
:param resource: JSON mapping of parameter
Expand Down Expand Up @@ -529,7 +529,7 @@ class StructQueryParameter(AbstractQueryParameter):
:type name: str or None
:param name: Parameter name, used via ``@foo`` syntax. If None, the
paramter can only be addressed via position (``?``).
parameter can only be addressed via position (``?``).
:type sub_params: tuple of :class:`ScalarQueryParameter`
:param sub_params: the sub-parameters for the struct
Expand All @@ -551,7 +551,7 @@ def __init__(self, name, *sub_params):

@classmethod
def positional(cls, *sub_params):
"""Factory for positional paramters.
"""Factory for positional parameters.
:type sub_params: tuple of :class:`ScalarQueryParameter`
:param sub_params: the sub-parameters for the struct
Expand All @@ -563,7 +563,7 @@ def positional(cls, *sub_params):

@classmethod
def from_api_repr(cls, resource):
"""Factory: construct paramter from JSON resource.
"""Factory: construct parameter from JSON resource.
:type resource: dict
:param resource: JSON mapping of parameter
Expand Down Expand Up @@ -635,7 +635,7 @@ def __get__(self, instance, owner):
:rtype: list of instances of classes derived from
:class:`AbstractQueryParameter`.
:returns: the descriptor, if accessed via the class, or the instance's
query paramters.
query parameters.
"""
if instance is None:
return self
Expand Down

0 comments on commit 5a5d84b

Please sign in to comment.