Skip to content

Commit c4efaee

Browse files
tswastchalmerlowe
andauthored
Apply suggestions from code review
Co-authored-by: Chalmer Lowe <[email protected]>
1 parent a0293f6 commit c4efaee

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

google/cloud/bigquery/_job_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ class QuerySentEvent:
771771

772772

773773
class QueryRetryEvent(QuerySentEvent):
774-
"""Query sent another time because the previous failed."""
774+
"""Query sent another time because the previous attempt failed."""
775775

776776

777777
class QuerySentEventFactory:

tests/unit/test_client_bigframes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_query_and_wait_bigframes_callback(client):
102102
query="SELECT 1",
103103
billing_project=PROJECT,
104104
location=LOCATION,
105-
# No job ID, because a basic query is elegible for jobs.query.
105+
# No job ID, because a basic query is eligible for jobs.query.
106106
job_id=None,
107107
request_id=mock.ANY,
108108
)
@@ -118,7 +118,7 @@ def test_query_and_wait_bigframes_callback(client):
118118
created=None,
119119
started=None,
120120
ended=None,
121-
# No job ID or destination, because a basic query is elegible for jobs.query.
121+
# No job ID or destination, because a basic query is eligible for jobs.query.
122122
job_id=None,
123123
destination=None,
124124
),
@@ -358,7 +358,7 @@ def test_query_and_wait_bigframes_with_query_retry_callbacks(client):
358358
query="SELECT 1",
359359
billing_project=PROJECT,
360360
location=LOCATION,
361-
# No job ID, because a basic query is elegible for jobs.query.
361+
# No job ID, because a basic query is eligible for jobs.query.
362362
job_id=None,
363363
request_id=mock.ANY,
364364
)
@@ -368,7 +368,7 @@ def test_query_and_wait_bigframes_with_query_retry_callbacks(client):
368368
query="SELECT 1",
369369
billing_project=PROJECT,
370370
location=LOCATION,
371-
# No job ID, because a basic query is elegible for jobs.query.
371+
# No job ID, because a basic query is eligible for jobs.query.
372372
job_id=None,
373373
request_id=mock.ANY,
374374
)
@@ -384,7 +384,7 @@ def test_query_and_wait_bigframes_with_query_retry_callbacks(client):
384384
created=None,
385385
started=None,
386386
ended=None,
387-
# No job ID or destination, because a basic query is elegible for jobs.query.
387+
# No job ID or destination, because a basic query is eligible for jobs.query.
388388
job_id=None,
389389
destination=None,
390390
),

0 commit comments

Comments
 (0)