@@ -119,7 +119,7 @@ def _upsert_labels_by_label_ids(
119119 MEALabelRegistrationTaskStatus(where: $where) {status errorMessage}
120120 }
121121 """
122- return self ._wait_until_done (
122+ return self ._wait_till_done (
123123 lambda : self .client .execute (
124124 status_query_str , {"where" : {"id" : task_id }}
125125 )["MEALabelRegistrationTaskStatus" ],
@@ -144,7 +144,7 @@ def _upsert_labels_by_project_id(
144144 MEALabelRegistrationTaskStatus(where: $where) {status errorMessage}
145145 }
146146 """
147- return self ._wait_until_done (
147+ return self ._wait_till_done (
148148 lambda : self .client .execute (
149149 status_query_str , {"where" : {"id" : task_id }}
150150 )["MEALabelRegistrationTaskStatus" ],
@@ -182,14 +182,14 @@ def upsert_data_rows(
182182 MEADataRowRegistrationTaskStatus(where: $where) {status errorMessage}
183183 }
184184 """
185- return self ._wait_until_done (
185+ return self ._wait_till_done (
186186 lambda : self .client .execute (
187187 status_query_str , {"where" : {"id" : task_id }}
188188 )["MEADataRowRegistrationTaskStatus" ],
189189 timeout_seconds = timeout_seconds ,
190190 )
191191
192- def _wait_until_done (self , status_fn , timeout_seconds = 120 , sleep_time = 5 ):
192+ def _wait_till_done (self , status_fn , timeout_seconds = 120 , sleep_time = 5 ):
193193 # Do not use this function outside of the scope of upsert_data_rows or upsert_labels. It could change.
194194 original_timeout = timeout_seconds
195195 while True :
@@ -419,7 +419,7 @@ def assign_data_rows_to_split(
419419 assignDataRowsToDataSplitTaskStatus(where: {id : $id}){status errorMessage}}
420420 """
421421
422- return self ._wait_until_done (
422+ return self ._wait_till_done (
423423 lambda : self .client .execute (
424424 status_query_str , {"id" : task_id }, experimental = True
425425 )["assignDataRowsToDataSplitTaskStatus" ],
0 commit comments