Skip to content

Commit c5db8c4

Browse files
committed
links update
1 parent 9a85bf3 commit c5db8c4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

google/cloud/bigquery/query.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,10 +1315,11 @@ def created(self) -> Optional[datetime.datetime]:
13151315
"""Datetime at which the job was created.
13161316
13171317
See:
1318-
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobStatistics.FIELDS.creation_time
1318+
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#body.QueryResponse.FIELDS.creation_time
13191319
1320-
Optional[datetime.datetime]:
1321-
the creation time (None until set from the server).
1320+
Returns:
1321+
Optional[datetime.datetime]:
1322+
the creation time (None until set from the server).
13221323
"""
13231324
millis = self._properties.get("creationTime")
13241325
if millis is not None:
@@ -1329,7 +1330,7 @@ def started(self) -> Optional[datetime.datetime]:
13291330
"""Datetime at which the job was started.
13301331
13311332
See:
1332-
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobStatistics.FIELDS.start_time
1333+
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#body.QueryResponse.FIELDS.start_time
13331334
13341335
Returns:
13351336
Optional[datetime.datetime]:
@@ -1344,13 +1345,13 @@ def ended(self) -> Optional[datetime.datetime]:
13441345
"""Datetime at which the job finished.
13451346
13461347
See:
1347-
https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobStatistics.FIELDS.end_time
1348+
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#body.QueryResponse.FIELDS.end_time
13481349
13491350
Returns:
13501351
Optional[datetime.datetime]:
13511352
the end time (None until set from the server).
13521353
"""
1353-
millis = self._properties.get("endTime", None)
1354+
millis = self._properties.get("endTime")
13541355
if millis is not None:
13551356
return _helpers._datetime_from_microseconds(int(millis) * 1000.0)
13561357

0 commit comments

Comments
 (0)