Skip to content

Commit 27dcf5a

Browse files
smasuedhermes
authored andcommitted
BigQuery _EnumProperty ValueError messages are not displayed properly (#3520)
1 parent 46ced00 commit 27dcf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bigquery/google/cloud/bigquery/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def _validate(self, value):
318318
:raises: ValueError if value is not allowed.
319319
"""
320320
if value not in self.ALLOWED:
321-
raise ValueError('Pass one of: %s' ', '.join(self.ALLOWED))
321+
raise ValueError('Pass one of: %s' % ', '.join(self.ALLOWED))
322322

323323

324324
class UDFResource(object):

0 commit comments

Comments
 (0)