code
string
signature
string
docstring
string
loss_without_docstring
float64
loss_with_docstring
float64
factor
float64
''' :param io_hash: input/output hash :type io_hash: dict :returns: boolean indicating whether any job-based object references are found in *io_hash* ''' q = [] for field in io_hash: if is_job_ref(io_hash[field]): if get_job_from_jbor(io_hash[field]).startswith('localjob'): return True elif isinstance(io_hash[field], list) or isinstance(io_hash[field], dict): q.append(io_hash[field]) while len(q) > 0: thing = q.pop() if isinstance(thing, list): for i in range(len(thing)): if is_job_ref(thing[i]): if get_job_from_jbor(thing[i]).startswith('localjob'): return True elif isinstance(thing[i], list) or isinstance(thing[i], dict): q.append(thing[i]) else: for field in thing: if is_job_ref(thing[field]): if get_job_from_jbor(thing[field]).startswith('localjob'): return True elif isinstance(thing[field], list) or isinstance(thing[field], dict): q.append(thing[field]) return False
def has_local_job_refs(io_hash)
:param io_hash: input/output hash :type io_hash: dict :returns: boolean indicating whether any job-based object references are found in *io_hash*
1.975507
1.671222
1.182074
''' :param jbor: a dict that is a valid job-based object reference :type jbor: dict :param job_outputs: a dict of finished local jobs to their output hashes :type job_outputs: :class:`collections.OrderedDict` :returns: the referenced value if present :raises: :exc:`Exception` if the job-based object reference cannot be resolved TODO: Support metadata references ''' ref_job_id = get_job_from_jbor(jbor) ref_job_field = get_field_from_jbor(jbor) ref_job_index = get_index_from_jbor(jbor) def resolve_from_hash(output_hash): if ref_job_index is None: return output_hash[ref_job_field] else: return output_hash[ref_job_field][ref_job_index] if is_localjob_id(ref_job_id): if job_outputs.get(ref_job_id) is None: if should_resolve: raise Exception('Job ' + ref_job_id + ' not found in local finished jobs') else: return jbor if ref_job_field not in job_outputs[ref_job_id]: raise Exception('Cannot resolve a JBOR with job ID ' + ref_job_id + ' because field "' + ref_job_field + '" was not found in its output') return resolve_from_hash(job_outputs[ref_job_id]) else: dxjob = dxpy.DXJob(ref_job_id) try: dxjob.wait_on_done() except Exception as e: raise Exception('Could not wait for ' + ref_job_id + ' to finish: ' + str(e)) job_desc = dxjob.describe() if ref_job_field not in job_desc['output']: raise Exception('Cannot resolve a JBOR with job ID ' + ref_job_id + ' because field "' + ref_job_field + '" was not found in its output') return resolve_from_hash(job_desc['output'])
def resolve_job_ref(jbor, job_outputs={}, should_resolve=True)
:param jbor: a dict that is a valid job-based object reference :type jbor: dict :param job_outputs: a dict of finished local jobs to their output hashes :type job_outputs: :class:`collections.OrderedDict` :returns: the referenced value if present :raises: :exc:`Exception` if the job-based object reference cannot be resolved TODO: Support metadata references
2.584115
1.927429
1.340706
''' :param io_hash: an input or output hash in which to resolve any job-based object references possible :type io_hash: dict :param job_outputs: a mapping of finished local jobs to their output hashes :type job_outputs: dict :param should_resolve: whether it is an error if a job-based object reference in *io_hash* cannot be resolved yet :type should_resolve: boolean Modifies *io_hash* in-place. ''' q = [] for field in io_hash: if is_job_ref(io_hash[field]): io_hash[field] = resolve_job_ref(io_hash[field], job_outputs, should_resolve) elif isinstance(io_hash[field], list) or isinstance(io_hash[field], dict): q.append(io_hash[field]) while len(q) > 0: thing = q.pop() if isinstance(thing, list): for i in range(len(thing)): if is_job_ref(thing[i]): thing[i] = resolve_job_ref(thing[i], job_outputs, should_resolve) elif isinstance(thing[i], list) or isinstance(thing[i], dict): q.append(thing[i]) else: for field in thing: if is_job_ref(thing[field]): thing[field] = resolve_job_ref(thing[field], job_outputs, should_resolve) elif isinstance(thing[field], list) or isinstance(thing[field], dict): q.append(thing[field])
def resolve_job_references(io_hash, job_outputs, should_resolve=True)
:param io_hash: an input or output hash in which to resolve any job-based object references possible :type io_hash: dict :param job_outputs: a mapping of finished local jobs to their output hashes :type job_outputs: dict :param should_resolve: whether it is an error if a job-based object reference in *io_hash* cannot be resolved yet :type should_resolve: boolean Modifies *io_hash* in-place.
2.05815
1.379631
1.491812
''' Add DNAnexus links to non-closed data objects in input_hash to depends_on ''' q = [] for field in input_hash: possible_dep = get_nonclosed_data_obj_link(input_hash[field]) if possible_dep is not None: depends_on.append(possible_dep) elif isinstance(input_hash[field], list) or isinstance(input_hash[field], dict): q.append(input_hash[field]) while len(q) > 0: thing = q.pop() if isinstance(thing, list): for i in range(len(thing)): possible_dep = get_nonclosed_data_obj_link(thing[i]) if possible_dep is not None: depends_on.append(possible_dep) elif isinstance(thing[i], list) or isinstance(thing[i], dict): q.append(thing[i]) else: for field in thing: possible_dep = get_nonclosed_data_obj_link(thing[field]) if possible_dep is not None: depends_on.append(possible_dep) elif isinstance(thing[field], list) or isinstance(thing[field], dict): q.append(thing[field])
def get_implicit_depends_on(input_hash, depends_on)
Add DNAnexus links to non-closed data objects in input_hash to depends_on
1.984021
1.621159
1.223829
''' :param function: function to run :param input_hash: input to new job :param depends_on: list of data object IDs and/or job IDs (local or remote) to wait for before the job can be run :type depends_on: list of strings :param name: job name (optional) :returns: new local job ID This function should only be called by a locally running job, so all relevant DX_TEST_* environment variables should be set. This function will set up the home directory for the job, add an entry in job_outputs.json, and append the job information to the job_queue.json file. (Both files found in $DX_TEST_JOB_HOMEDIRS.) ''' ensure_env_vars() all_job_outputs_path = os.path.join(environ['DX_TEST_JOB_HOMEDIRS'], 'job_outputs.json') with open(all_job_outputs_path, 'r') as fd: all_job_outputs = json.load(fd, object_pairs_hook=collections.OrderedDict) job_id = 'localjob-' + str(len(all_job_outputs)) with open(all_job_outputs_path, write_mode) as fd: all_job_outputs[job_id] = None json.dump(all_job_outputs, fd, indent=4) fd.write(eol) job_homedir = os.path.join(environ['DX_TEST_JOB_HOMEDIRS'], job_id) os.mkdir(job_homedir) job_queue_path = os.path.join(environ['DX_TEST_JOB_HOMEDIRS'], 'job_queue.json') with open(job_queue_path, 'r') as fd: job_queue = json.load(fd) job_entry = {"id": job_id, "function": function, "input_hash": input_hash, "depends_on": depends_on} if name is not None: job_entry['name'] = name job_queue.append(job_entry) with open(job_queue_path, write_mode) as fd: json.dump(job_queue, fd, indent=4) fd.write(eol) return job_id
def queue_entry_point(function, input_hash, depends_on=[], name=None)
:param function: function to run :param input_hash: input to new job :param depends_on: list of data object IDs and/or job IDs (local or remote) to wait for before the job can be run :type depends_on: list of strings :param name: job name (optional) :returns: new local job ID This function should only be called by a locally running job, so all relevant DX_TEST_* environment variables should be set. This function will set up the home directory for the job, add an entry in job_outputs.json, and append the job information to the job_queue.json file. (Both files found in $DX_TEST_JOB_HOMEDIRS.)
2.723992
1.498494
1.81782
''' :param run_spec: run specification from the dxapp.json of the app :type run_spec: dict Runs all job entry points found in $DX_TEST_JOB_HOMEDIRS/job_queue.json in a first-in, first-out manner until it is an empty array (or an error occurs). ''' job_queue_path = os.path.join(environ['DX_TEST_JOB_HOMEDIRS'], 'job_queue.json') all_job_outputs_path = os.path.join(environ['DX_TEST_JOB_HOMEDIRS'], 'job_outputs.json') while True: with open(job_queue_path, 'r') as fd: job_queue = json.load(fd) if len(job_queue) == 0: return with open(all_job_outputs_path, 'r') as fd: all_job_outputs = json.load(fd) entry_point_to_run = None for i, entry_point in enumerate(job_queue): runnable = True # See if its inputs are ready while has_local_job_refs(entry_point['input_hash']): try: resolve_job_references(entry_point['input_hash'], all_job_outputs) except: runnable = False break if runnable: entry_point_to_run = job_queue.pop(i) break if entry_point_to_run is None: # Just run the first entry point and let the runner throw # the appropriate error entry_point_to_run = job_queue.pop(0) with open(job_queue_path, write_mode) as fd: # Update job queue with updated inputs and after having # popped the entry point to be run json.dump(job_queue, fd) fd.write(eol) run_one_entry_point(job_id=entry_point_to_run['id'], function=entry_point_to_run['function'], input_hash=entry_point_to_run['input_hash'], run_spec=run_spec, depends_on=entry_point_to_run.get('depends_on', []), name=entry_point_to_run.get('name'))
def run_entry_points(run_spec)
:param run_spec: run specification from the dxapp.json of the app :type run_spec: dict Runs all job entry points found in $DX_TEST_JOB_HOMEDIRS/job_queue.json in a first-in, first-out manner until it is an empty array (or an error occurs).
3.180666
2.297368
1.384483
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def analysis_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /analysis-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fanalysis-xxxx%2FaddTags
3.14284
4.125552
0.761799
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def analysis_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /analysis-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fanalysis-xxxx%2Fdescribe
2.967047
4.15875
0.713447
return DXHTTPRequest('/%s/removeTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def analysis_remove_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /analysis-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fanalysis-xxxx%2FremoveTags
2.980278
4.183149
0.712448
return DXHTTPRequest('/%s/setProperties' % object_id, input_params, always_retry=always_retry, **kwargs)
def analysis_set_properties(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /analysis-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fanalysis-xxxx%2FsetProperties
3.16983
4.135058
0.766575
return DXHTTPRequest('/%s/terminate' % object_id, input_params, always_retry=always_retry, **kwargs)
def analysis_terminate(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /analysis-xxxx/terminate API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fanalysis-xxxx%2Fterminate
3.281732
4.489377
0.730999
fully_qualified_version = app_name_or_id + (('/' + alias) if alias else '') return DXHTTPRequest('/%s/addDevelopers' % fully_qualified_version, input_params, always_retry=always_retry, **kwargs)
def app_add_developers(app_name_or_id, alias=None, input_params={}, always_retry=True, **kwargs)
Invokes the /app-xxxx/addDevelopers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Apps#API-method:-/app-xxxx%5B/yyyy%5D/addDevelopers
3.413617
3.057102
1.116619
input_params_cp = Nonce.update_nonce(input_params) fully_qualified_version = app_name_or_id + (('/' + alias) if alias else '') return DXHTTPRequest('/%s/run' % fully_qualified_version, input_params_cp, always_retry=always_retry, **kwargs)
def app_run(app_name_or_id, alias=None, input_params={}, always_retry=True, **kwargs)
Invokes the /app-xxxx/run API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Apps#API-method:-/app-xxxx%5B/yyyy%5D/run
4.326771
3.931035
1.10067
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
2.984638
4.192372
0.711921
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fapplet-xxxx%2Fdescribe
3.215173
4.306388
0.746605
return DXHTTPRequest('/%s/get' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_get(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/get API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fapplet-xxxx%2Fget
3.630578
4.811808
0.754514
return DXHTTPRequest('/%s/getDetails' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_get_details(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/getDetails API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
3.450229
4.077302
0.846204
return DXHTTPRequest('/%s/listProjects' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_list_projects(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
3.200286
4.535737
0.705571
return DXHTTPRequest('/%s/removeTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_remove_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
3.01885
4.311851
0.700129
return DXHTTPRequest('/%s/rename' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_rename(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
3.092069
4.394717
0.703588
return DXHTTPRequest('/%s/validateBatch' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_validate_batch(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/validateBatch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fapplet-xxxx%2FvalidateBatch
3.174211
4.280961
0.741472
input_params_cp = Nonce.update_nonce(input_params) return DXHTTPRequest('/%s/run' % object_id, input_params_cp, always_retry=always_retry, **kwargs)
def applet_run(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/run API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fapplet-xxxx%2Frun
4.591994
4.893854
0.938319
return DXHTTPRequest('/%s/setProperties' % object_id, input_params, always_retry=always_retry, **kwargs)
def applet_set_properties(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /applet-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
3.30794
4.150758
0.796948
return DXHTTPRequest('/%s/clone' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_clone(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /container-xxxx/clone API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2Fclone
3.310668
4.35653
0.759932
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /container-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Containers-for-Execution#API-method%3A-%2Fcontainer-xxxx%2Fdescribe
3.344587
3.653718
0.915393
return DXHTTPRequest('/%s/destroy' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_destroy(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /container-xxxx/destroy API method.
3.69276
3.803804
0.970807
return DXHTTPRequest('/%s/listFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_list_folder(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /container-xxxx/listFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FlistFolder
3.335041
3.769886
0.884653
return DXHTTPRequest('/%s/move' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_move(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /container-xxxx/move API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2Fmove
3.268435
4.46801
0.731519
return DXHTTPRequest('/%s/newFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_new_folder(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /container-xxxx/newFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FnewFolder
3.041144
3.78291
0.803917
return DXHTTPRequest('/%s/removeFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_remove_folder(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /container-xxxx/removeFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FremoveFolder
3.355551
3.985839
0.841868
return DXHTTPRequest('/%s/removeObjects' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_remove_objects(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /container-xxxx/removeObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FremoveObjects
3.528648
4.108264
0.858915
return DXHTTPRequest('/%s/renameFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def container_rename_folder(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /container-xxxx/renameFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FrenameFolder
3.185946
3.801294
0.838121
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
3.269634
4.069957
0.803359
return DXHTTPRequest('/%s/addTypes' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_add_types(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/addTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
3.211276
4.068084
0.789383
return DXHTTPRequest('/%s/close' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_close(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/close API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose
3.484178
4.474493
0.778675
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Databases#API-method%3A-%2Fdatabase-xxxx%2Fdescribe
3.168818
3.81315
0.831024
return DXHTTPRequest('/%s/getDetails' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_get_details(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/getDetails API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
3.524804
3.771063
0.934698
return DXHTTPRequest('/%s/listProjects' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_list_projects(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
3.581657
4.060586
0.882054
return DXHTTPRequest('/%s/relocate' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_relocate(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /database-xxxx/relocate API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Databases#API-method%3A-%2Fdatabase-xxxx%2Frelocate
2.969615
4.460603
0.665743
return DXHTTPRequest('/%s/removeTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_remove_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
3.225394
4.160534
0.775236
return DXHTTPRequest('/%s/removeTypes' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_remove_types(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
3.159642
4.175407
0.756727
return DXHTTPRequest('/%s/rename' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_rename(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
3.04348
4.180206
0.728069
return DXHTTPRequest('/%s/setDetails' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_set_details(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/setDetails API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails
3.308301
3.714597
0.890622
return DXHTTPRequest('/%s/setProperties' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_set_properties(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
3.098957
4.047271
0.76569
return DXHTTPRequest('/%s/setVisibility' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_set_visibility(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
3.691194
4.535246
0.81389
return DXHTTPRequest('/%s/listFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def database_list_folder(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /database-xxxx/listFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Databases#API-method%3A-%2Fdatabase-xxxx%2FlistFolder
3.221075
4.143431
0.777393
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
3.044493
4.112353
0.740329
return DXHTTPRequest('/%s/addTypes' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_add_types(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/addTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
3.040283
4.210966
0.721992
return DXHTTPRequest('/%s/close' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_close(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/close API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Files#API-method%3A-%2Ffile-xxxx%2Fclose
3.299866
5.20686
0.633754
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Files#API-method%3A-%2Ffile-xxxx%2Fdescribe
3.082967
4.066606
0.758118
return DXHTTPRequest('/%s/download' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_download(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/download API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Files#API-method%3A-%2Ffile-xxxx%2Fdownload
3.136309
4.441054
0.706208
return DXHTTPRequest('/%s/getDetails' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_get_details(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/getDetails API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
3.409116
3.785973
0.900459
return DXHTTPRequest('/%s/listProjects' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_list_projects(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
3.399733
4.161677
0.816914
return DXHTTPRequest('/%s/removeTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_remove_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
3.075846
4.147605
0.741596
return DXHTTPRequest('/%s/removeTypes' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_remove_types(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
3.102298
4.188947
0.740591
return DXHTTPRequest('/%s/rename' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_rename(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
3.033606
4.24234
0.715078
return DXHTTPRequest('/%s/setDetails' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_set_details(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/setDetails API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails
3.2459
3.702361
0.876711
return DXHTTPRequest('/%s/setProperties' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_set_properties(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
3.075709
4.050736
0.759296
return DXHTTPRequest('/%s/setVisibility' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_set_visibility(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
3.652662
4.51878
0.808329
return DXHTTPRequest('/%s/upload' % object_id, input_params, always_retry=always_retry, **kwargs)
def file_upload(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /file-xxxx/upload API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Files#API-method%3A-%2Ffile-xxxx%2Fupload
3.111729
4.53067
0.686814
input_params_cp = Nonce.update_nonce(input_params) return DXHTTPRequest('/file/new', input_params_cp, always_retry=always_retry, **kwargs)
def file_new(input_params={}, always_retry=True, **kwargs)
Invokes the /file/new API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Files#API-method%3A-%2Ffile%2Fnew
4.954207
5.313866
0.932317
fully_qualified_version = name_or_id + (('/' + alias) if alias else '') return DXHTTPRequest('/%s/addAuthorizedUsers' % fully_qualified_version, input_params, always_retry=always_retry, **kwargs)
def global_workflow_add_authorized_users(name_or_id, alias=None, input_params={}, always_retry=True, **kwargs)
Invokes the /globalworkflow-xxxx/addAuthorizedUsers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Global-Workflows#API-method:-/globalworkflow-xxxx%5B/yyyy%5D/addAuthorizedUsers
3.698326
3.242014
1.14075
input_params_cp = Nonce.update_nonce(input_params) fully_qualified_version = name_or_id + (('/' + alias) if alias else '') return DXHTTPRequest('/%s/run' % fully_qualified_version, input_params_cp, always_retry=always_retry, **kwargs)
def global_workflow_run(name_or_id, alias=None, input_params={}, always_retry=True, **kwargs)
Invokes the /globalworkflow-xxxx/run API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Global-Workflows#API-method:-/globalworkflow-xxxx%5B/yyyy%5D/run
4.818208
4.45127
1.082434
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def job_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /job-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fjob-xxxx%2FaddTags
3.208671
3.713847
0.863975
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def job_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /job-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fjob-xxxx%2Fdescribe
3.191477
3.671287
0.869308
return DXHTTPRequest('/%s/getLog' % object_id, input_params, always_retry=always_retry, **kwargs)
def job_get_log(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /job-xxxx/getLog API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fjob-xxxx%2FgetLog
4.070927
4.498385
0.904975
return DXHTTPRequest('/%s/removeTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def job_remove_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /job-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fjob-xxxx%2FremoveTags
3.097392
3.825626
0.809643
return DXHTTPRequest('/%s/setProperties' % object_id, input_params, always_retry=always_retry, **kwargs)
def job_set_properties(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /job-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fjob-xxxx%2FsetProperties
3.20243
3.739781
0.856315
return DXHTTPRequest('/%s/terminate' % object_id, input_params, always_retry=always_retry, **kwargs)
def job_terminate(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /job-xxxx/terminate API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Applets-and-Entry-Points#API-method%3A-%2Fjob-xxxx%2Fterminate
3.23529
4.057127
0.797434
return DXHTTPRequest('/notifications/get', input_params, always_retry=always_retry, **kwargs)
def notifications_get(input_params={}, always_retry=True, **kwargs)
Invokes the /notifications/get API method.
4.409661
4.282127
1.029783
return DXHTTPRequest('/notifications/markRead', input_params, always_retry=always_retry, **kwargs)
def notifications_mark_read(input_params={}, always_retry=True, **kwargs)
Invokes the /notifications/markRead API method.
3.8303
4.119675
0.929758
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2Fdescribe
3.057841
3.873212
0.789484
return DXHTTPRequest('/%s/findMembers' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_find_members(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/findMembers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2FfindMembers
3.107367
4.159827
0.746994
return DXHTTPRequest('/%s/findProjects' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_find_projects(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/findProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2FfindProjects
3.162944
4.152599
0.761678
return DXHTTPRequest('/%s/findApps' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_find_apps(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/findApps API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2FfindApps
3.156953
4.140474
0.762462
return DXHTTPRequest('/%s/invite' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_invite(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/invite API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2Finvite
3.190706
4.491588
0.710374
return DXHTTPRequest('/%s/removeMember' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_remove_member(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/removeMember API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2FremoveMember
3.196909
4.21377
0.758681
return DXHTTPRequest('/%s/setMemberAccess' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_set_member_access(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/setMemberAccess API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2FsetMemberAccess
2.887326
3.868248
0.746417
return DXHTTPRequest('/%s/update' % object_id, input_params, always_retry=always_retry, **kwargs)
def org_update(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /org-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Organizations#API-method%3A-%2Forg-xxxx%2Fupdate
3.451237
4.143747
0.832878
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2FaddTags
3.153618
4.084911
0.772016
return DXHTTPRequest('/%s/clone' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_clone(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /project-xxxx/clone API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2Fclone
3.27267
4.496281
0.727861
return DXHTTPRequest('/%s/decreasePermissions' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_decrease_permissions(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/decreasePermissions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Project-Permissions-and-Sharing#API-method%3A-%2Fproject-xxxx%2FdecreasePermissions
3.402963
3.798074
0.895971
return DXHTTPRequest('/%s/describe' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_describe(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2Fdescribe
3.174319
3.721478
0.852973
return DXHTTPRequest('/%s/destroy' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_destroy(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/destroy API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2Fdestroy
3.504956
4.37737
0.800699
return DXHTTPRequest('/%s/invite' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_invite(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /project-xxxx/invite API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Project-Permissions-and-Sharing#API-method%3A-%2Fproject-xxxx%2Finvite
3.414753
4.560501
0.748767
return DXHTTPRequest('/%s/leave' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_leave(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/leave API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Project-Permissions-and-Sharing#API-method%3A-%2Fproject-xxxx%2Fleave
3.517898
4.376299
0.803852
return DXHTTPRequest('/%s/listFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_list_folder(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/listFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FlistFolder
3.29231
3.723127
0.884286
return DXHTTPRequest('/%s/move' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_move(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /project-xxxx/move API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2Fmove
3.176818
4.478233
0.709391
return DXHTTPRequest('/%s/newFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_new_folder(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/newFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FnewFolder
3.101217
3.833353
0.809009
return DXHTTPRequest('/%s/removeFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_remove_folder(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /project-xxxx/removeFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FremoveFolder
3.272233
4.046139
0.80873
return DXHTTPRequest('/%s/removeObjects' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_remove_objects(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /project-xxxx/removeObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FremoveObjects
3.40858
4.1944
0.81265
return DXHTTPRequest('/%s/removeTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_remove_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2FremoveTags
3.127273
4.144929
0.754482
return DXHTTPRequest('/%s/renameFolder' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_rename_folder(object_id, input_params={}, always_retry=False, **kwargs)
Invokes the /project-xxxx/renameFolder API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Folders-and-Deletion#API-method%3A-%2Fclass-xxxx%2FrenameFolder
3.207936
3.858276
0.831443
return DXHTTPRequest('/%s/setProperties' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_set_properties(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2FsetProperties
3.06761
3.97476
0.771772
return DXHTTPRequest('/%s/transfer' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_transfer(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/transfer API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Project-Permissions-and-Sharing#API-method%3A-%2Fproject-xxxx%2Ftransfer
3.330349
4.153471
0.801823
return DXHTTPRequest('/%s/update' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_update(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2Fupdate
3.556152
4.156462
0.855572
return DXHTTPRequest('/%s/updateSponsorship' % object_id, input_params, always_retry=always_retry, **kwargs)
def project_update_sponsorship(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /project-xxxx/updateSponsorship API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject-xxxx%2FupdateSponsorship
3.418652
4.22373
0.809392
return DXHTTPRequest('/project/new', input_params, always_retry=always_retry, **kwargs)
def project_new(input_params={}, always_retry=False, **kwargs)
Invokes the /project/new API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject%2Fnew
4.058649
6.256192
0.648741
return DXHTTPRequest('/%s/addTags' % object_id, input_params, always_retry=always_retry, **kwargs)
def record_add_tags(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /record-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
3.04134
3.663949
0.830072
return DXHTTPRequest('/%s/addTypes' % object_id, input_params, always_retry=always_retry, **kwargs)
def record_add_types(object_id, input_params={}, always_retry=True, **kwargs)
Invokes the /record-xxxx/addTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
3.037975
3.643012
0.833919