We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eacf9fe commit 70b5fb1Copy full SHA for 70b5fb1
google/cloud/bigquery/schema.py
@@ -242,7 +242,7 @@ def __init__(
242
self._properties["rangeElementType"] = range_element_type.to_api_repr()
243
if rounding_mode is not None:
244
self._properties["roundingMode"] = rounding_mode
245
- if isinstance(foreign_type_definition, str):
+ if foreign_type_definition is not None:
246
self._properties["foreignTypeDefinition"] = foreign_type_definition
247
248
if fields: # Don't set the property if it's not set.
0 commit comments