halt_process

Description

If called for a running process, it terminates that process.

If called for a queued process, that process is removed from the queue.

Arguments:

'api_key' 'experiment_id'

Simple Example

[status,eid] = TestLaunchFinancialProcess.launch_a_test_process(self,2)
print(status)
             pq.halt_process({'api_key':api_key,'experiment_id':eid})    time.sleep(pause)
q = { 'api_key' : api_key,'query':{'experiment_id':eid}}
dat = pq.find_processes(q,remote=True)
try:
    status = list(pd.DataFrame(dat)['status'])[0]
except Exception as e:
    print(dat)
    raise e

Simple Example Output

Failure Examples

not implemented

Failure Examples Output

Three Examples

not implemented

Three Examples Output