File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -256,13 +256,13 @@ async def submit_batch_script(self):
256
256
self .job_id = ''
257
257
return self .job_id
258
258
259
- # Override if your batch system needs something more elaborate to read the job status
259
+ # Override if your batch system needs something more elaborate to query the job status
260
260
batch_query_cmd = Unicode ('' ,
261
- help = "Command to run to read job status. Formatted using req_xyz traits as {xyz} "
261
+ help = "Command to run to query job status. Formatted using req_xyz traits as {xyz} "
262
262
"and self.job_id as {job_id}."
263
263
).tag (config = True )
264
264
265
- async def read_job_state (self ):
265
+ async def query_job_status (self ):
266
266
if self .job_id is None or len (self .job_id ) == 0 :
267
267
# job not running
268
268
self .job_status = ''
@@ -338,7 +338,7 @@ def state_gethost(self):
338
338
async def poll (self ):
339
339
"""Poll the process"""
340
340
if self .job_id is not None and len (self .job_id ) > 0 :
341
- await self .read_job_state ()
341
+ await self .query_job_status ()
342
342
if self .state_isrunning () or self .state_ispending () or self .state_isunknown ():
343
343
return None
344
344
else :
You can’t perform that action at this time.
0 commit comments