download_experiment
Description
Allows user to retrieve code and settings for an experiment specified by experiment id.
Arguments:
'api_key'
'experiment_id' -- the experiment id for the experiment whose code and settings are to be retrieved
Simple Example
q = {'api_key':api_key,'query':{ 'status': 'running', 'name': {'$regex': '^financialApi'} }}
dat = pq.find_processes(q,remote=True)
df = pd.DataFrame(dat)
eid = df['experiment_id'][0]
arr = pq.download_experiment({ 'api_key' : api_key,'experiment_id':eid},remote=True)
Simple Example Output
Failure Examples
eid = uuid.uuid1() #nonexistent experiment
arr = pq.download_experiment({ 'api_key' : api_key,'experiment_id':eid},remote=True)
Failure Examples Output
Three Examples
Do the above cases cover all that we need to test, since download_experiments is so simple?