File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ class SourceColumnMatch(str, enum.Enum):
482482 columns to match the field names in the schema."""
483483
484484
485- class TimestampPrecision (enum . Enum ):
485+ class TimestampPrecision (object ):
486486 """Precision (maximum number of total digits in base 10) for seconds of
487487 TIMESTAMP type."""
488488
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ def timestamp_precision(self):
390390 """Union[enums.TimestampPrecision, int, None]: Precision (maximum number
391391 of total digits in base 10) for seconds of TIMESTAMP type.
392392 """
393- return self ._properties .get ("timestampPrecision" )
393+ return _helpers . _int_or_none ( self ._properties .get ("timestampPrecision" ) )
394394
395395 def to_api_repr (self ) -> dict :
396396 """Return a dictionary representing this schema field.
You can’t perform that action at this time.
0 commit comments