Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions google/cloud/bigquery/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class ScalarQueryParameter(_AbstractQueryParameter):
'FLOAT64', 'NUMERIC', 'BOOL', 'TIMESTAMP', 'DATETIME', or
'DATE'.

value (Union[str, int, float, decimal.Decimal, bool,
datetime.datetime, datetime.date]): The scalar parameter value.
value (Union[str, int, float, decimal.Decimal, bool, datetime.datetime, datetime.date]):
The scalar parameter value.
"""

def __init__(self, name, type_, value):
Expand All @@ -105,9 +105,8 @@ def positional(cls, type_, value):
'FLOAT64', 'NUMERIC', 'BOOL', 'TIMESTAMP', 'DATETIME', or
'DATE'.

value (Union[str, int, float, decimal.Decimal, bool,
datetime.datetime,
datetime.date]): The scalar parameter value.
value (Union[str, int, float, decimal.Decimal, bool, datetime.datetime, datetime.date]):
The scalar parameter value.

Returns:
google.cloud.bigquery.query.ScalarQueryParameter: Instance without name
Expand Down