Skip to content

Commit aa2d5e5

Browse files
committed
updates docstrings
1 parent 1d484cf commit aa2d5e5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

google/cloud/bigquery/external_config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,8 +864,9 @@ def date_format(self, value: Optional[str]):
864864

865865
@property
866866
def datetime_format(self) -> Optional[str]:
867-
"""Optional[str]: Date format used for parsing DATETIME values.
868-
(Valid for CSV and NEWLINE_DELIMITED_JSON)
867+
"""Optional[str]: Format used to parse DATETIME values. Supports C-style
868+
and SQL-style values.
869+
869870
See:
870871
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#ExternalDataConfiguration.FIELDS.datetime_format
871872
"""

google/cloud/bigquery/job/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def date_format(self, value: Optional[str]):
564564
@property
565565
def datetime_format(self) -> Optional[str]:
566566
"""Optional[str]: Date format used for parsing DATETIME values.
567-
This option is valid for CSV and JSON sources.
567+
568568
See:
569569
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationLoad.FIELDS.datetime_format
570570
"""

0 commit comments

Comments
 (0)