Skip to content

Commit 462f2eb

Browse files
author
Jim Fulton
committed
remove type hints -- maybe they broke docs?
1 parent 525b8fd commit 462f2eb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

google/cloud/bigquery/dbapi/_helpers.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def split_struct_fields(fields):
157157
yield field
158158

159159

160-
def complex_query_parameter_type(name: typing.Optional[str], type_: str, base: str):
160+
def complex_query_parameter_type(name, type_, base):
161161
type_ = type_.strip()
162162
if "<" not in type_:
163163
# Scalar
@@ -199,9 +199,7 @@ def complex_query_parameter_type(name: typing.Optional[str], type_: str, base: s
199199
return query.StructQueryParameterType(*fields, name=name)
200200

201201

202-
def complex_query_parameter(
203-
name: typing.Optional[str], value, type_: str, base: typing.Optional[str] = None
204-
):
202+
def complex_query_parameter(name, value, type_, base=None):
205203
"""
206204
Construct a query parameter for a complex type (array or struct record)
207205

0 commit comments

Comments
 (0)