Skip to content

Commit b20159b

Browse files
committed
docstring
1 parent 234a3fd commit b20159b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

google/cloud/bigquery/schema.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,14 @@ def policy_tags(self):
389389

390390
@property
391391
def timestamp_precision(self):
392-
"""Optional[int]: Subfields contained in this field.
392+
"""Optional[int]: Precision (maximum number of total digits in base 10)
393+
for seconds of TIMESTAMP type.
393394
394-
Must be empty unset if ``field_type`` is not 'RECORD'.
395+
Possible values include:
396+
397+
- 6 (Default, for TIMESTAMP type with microsecond precision)
398+
399+
- 12 (For TIMESTAMP type with picosecond precision)
395400
"""
396401
return _helpers._int_or_none(self._properties.get("timestampPrecision"))
397402

0 commit comments

Comments
 (0)