Skip to content

Commit 340be1f

Browse files
committed
updates type handling
1 parent 6475428 commit 340be1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/bigquery/routine/routine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ def max_batching_rows(self) -> Optional[int]:
872872
def max_batching_rows(self, value: Optional[int]):
873873
if value is not None and not isinstance(value, int):
874874
raise ValueError("max_batching_rows must be an integer or None.")
875-
self._properties["maxBatchingRows"] = value
875+
self._properties["maxBatchingRows"] = _helpers._str_or_none(value)
876876

877877
@property
878878
def runtime_version(self) -> Optional[str]:

0 commit comments

Comments
 (0)