Skip to content

Commit 90e5fa9

Browse files
author
Matt Delacour
committed
Fix typo
Signed-off-by: Matt Delacour <matt.delacour@shopify.com>
1 parent 61a51e7 commit 90e5fa9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sdk/python/feast/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def __init__(self, repo_obj_type: str, specific_issue: str):
128128

129129
class BigQueryJobCancelled(Exception):
130130
def __init__(self, job_id):
131-
super().__init__(f"The following job '{job_id}' got cancelled")
131+
super().__init__(f"The BigQuery job with ID '{job_id}' was cancelled")
132132

133133

134134
class RedshiftCredentialsError(Exception):

sdk/python/feast/infra/offline_stores/bigquery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,11 @@ def _is_done(job_id):
280280
return client.get_job(job_id).state in ["PENDING", "RUNNING"]
281281

282282
@retry(wait=wait_fixed(10), stop=stop_after_delay(1800), reraise=True)
283-
def _wait_till_done(job_id):
283+
def _wait_until_done(job_id):
284284
return _is_done(job_id)
285285

286286
job_id = bq_job.job_id
287-
_wait_till_done(job_id=job_id)
287+
_wait_until_done(job_id=job_id)
288288

289289
if not _is_done(job_id):
290290
client.cancel_job(job_id)

0 commit comments

Comments
 (0)