repository_name
stringlengths
5
67
func_path_in_repository
stringlengths
4
234
func_name
stringlengths
0
314
whole_func_string
stringlengths
52
3.87M
language
stringclasses
6 values
func_code_string
stringlengths
52
3.87M
func_code_tokens
listlengths
15
672k
func_documentation_string
stringlengths
1
47.2k
func_documentation_tokens
listlengths
1
3.92k
split_name
stringclasses
1 value
func_code_url
stringlengths
85
339
dnanexus/dx-toolkit
src/python/dxpy/api.py
project_new
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 """ return DXHTTPRequest('/project/new', input_params, always_retry=always_retry, *...
python
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 """ return DXHTTPRequest('/project/new', input_params, always_retry=always_retry, *...
[ "def", "project_new", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "False", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/project/new'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", "*", ...
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
[ "Invokes", "the", "/", "project", "/", "new", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1076-L1082
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_add_tags
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 """ return DXHTTPRequest('/%s/addTags' % object_id, input_...
python
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 """ return DXHTTPRequest('/%s/addTags' % object_id, input_...
[ "def", "record_add_tags", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/addTags'", "%", "object_id", ",", "input_params", ",", "always_retry", ...
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
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "addTags", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1084-L1090
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_add_types
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 """ return DXHTTPRequest('/%s/addTypes' % object_id, i...
python
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 """ return DXHTTPRequest('/%s/addTypes' % object_id, i...
[ "def", "record_add_types", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/addTypes'", "%", "object_id", ",", "input_params", ",", "always_retry", ...
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
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "addTypes", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1092-L1098
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_close
def record_close(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-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 """ return DXHTTPRequest('/%s/close' % object_id...
python
def record_close(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-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 """ return DXHTTPRequest('/%s/close' % object_id...
[ "def", "record_close", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/close'", "%", "object_id", ",", "input_params", ",", "always_retry", "=", ...
Invokes the /record-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
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "close", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1100-L1106
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_describe
def record_describe(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Records#API-method%3A-%2Frecord-xxxx%2Fdescribe """ return DXHTTPRequest('/%s/describe' % object_id,...
python
def record_describe(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Records#API-method%3A-%2Frecord-xxxx%2Fdescribe """ return DXHTTPRequest('/%s/describe' % object_id,...
[ "def", "record_describe", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/describe'", "%", "object_id", ",", "input_params", ",", "always_retry", ...
Invokes the /record-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Records#API-method%3A-%2Frecord-xxxx%2Fdescribe
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "describe", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1108-L1114
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_get_details
def record_get_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-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 """ return DXHTTPRequest('/%s/getDet...
python
def record_get_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-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 """ return DXHTTPRequest('/%s/getDet...
[ "def", "record_get_details", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/getDetails'", "%", "object_id", ",", "input_params", ",", "always_retr...
Invokes the /record-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
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "getDetails", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1116-L1122
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_list_projects
def record_list_projects(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects """ return DXHTTPRequest('/%s/listProjec...
python
def record_list_projects(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects """ return DXHTTPRequest('/%s/listProjec...
[ "def", "record_list_projects", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/listProjects'", "%", "object_id", ",", "input_params", ",", "always_...
Invokes the /record-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "listProjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1124-L1130
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_remove_tags
def record_remove_tags(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags """ return DXHTTPRequest('/%s/removeTags' % objec...
python
def record_remove_tags(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags """ return DXHTTPRequest('/%s/removeTags' % objec...
[ "def", "record_remove_tags", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/removeTags'", "%", "object_id", ",", "input_params", ",", "always_retr...
Invokes the /record-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "removeTags", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1132-L1138
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_remove_types
def record_remove_types(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes """ return DXHTTPRequest('/%s/removeTypes' % ...
python
def record_remove_types(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes """ return DXHTTPRequest('/%s/removeTypes' % ...
[ "def", "record_remove_types", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/removeTypes'", "%", "object_id", ",", "input_params", ",", "always_re...
Invokes the /record-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "removeTypes", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1140-L1146
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_rename
def record_rename(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename """ return DXHTTPRequest('/%s/rename' % object_id, input_param...
python
def record_rename(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename """ return DXHTTPRequest('/%s/rename' % object_id, input_param...
[ "def", "record_rename", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/rename'", "%", "object_id", ",", "input_params", ",", "always_retry", "="...
Invokes the /record-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "rename", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1148-L1154
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_set_details
def record_set_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-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 """ return DXHTTPRequest('/%s/setDet...
python
def record_set_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-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 """ return DXHTTPRequest('/%s/setDet...
[ "def", "record_set_details", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setDetails'", "%", "object_id", ",", "input_params", ",", "always_retr...
Invokes the /record-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
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "setDetails", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1156-L1162
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_set_properties
def record_set_properties(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties """ return DXHTTPRequest('/%s/setP...
python
def record_set_properties(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties """ return DXHTTPRequest('/%s/setP...
[ "def", "record_set_properties", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setProperties'", "%", "object_id", ",", "input_params", ",", "alway...
Invokes the /record-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "setProperties", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1164-L1170
dnanexus/dx-toolkit
src/python/dxpy/api.py
record_set_visibility
def record_set_visibility(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility """ return DXHTTPRequest('/%s/setV...
python
def record_set_visibility(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /record-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility """ return DXHTTPRequest('/%s/setV...
[ "def", "record_set_visibility", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setVisibility'", "%", "object_id", ",", "input_params", ",", "alway...
Invokes the /record-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
[ "Invokes", "the", "/", "record", "-", "xxxx", "/", "setVisibility", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1172-L1178
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_describe_data_objects
def system_describe_data_objects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/describeDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeDataObjects """ return DXHTTPRequest('/system/des...
python
def system_describe_data_objects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/describeDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeDataObjects """ return DXHTTPRequest('/system/des...
[ "def", "system_describe_data_objects", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/describeDataObjects'", ",", "input_params", ",", "always_retry", "=", "always_...
Invokes the /system/describeDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeDataObjects
[ "Invokes", "the", "/", "system", "/", "describeDataObjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1189-L1195
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_describe_executions
def system_describe_executions(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/describeExecutions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeExecutions """ return DXHTTPRequest('/system/describ...
python
def system_describe_executions(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/describeExecutions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeExecutions """ return DXHTTPRequest('/system/describ...
[ "def", "system_describe_executions", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/describeExecutions'", ",", "input_params", ",", "always_retry", "=", "always_ret...
Invokes the /system/describeExecutions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeExecutions
[ "Invokes", "the", "/", "system", "/", "describeExecutions", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1197-L1203
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_describe_projects
def system_describe_projects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/describeProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeProjects """ return DXHTTPRequest('/system/describeProje...
python
def system_describe_projects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/describeProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeProjects """ return DXHTTPRequest('/system/describeProje...
[ "def", "system_describe_projects", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/describeProjects'", ",", "input_params", ",", "always_retry", "=", "always_retry",...
Invokes the /system/describeProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeProjects
[ "Invokes", "the", "/", "system", "/", "describeProjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1205-L1211
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_affiliates
def system_find_affiliates(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findAffiliates API method. """ return DXHTTPRequest('/system/findAffiliates', input_params, always_retry=always_retry, **kwargs)
python
def system_find_affiliates(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findAffiliates API method. """ return DXHTTPRequest('/system/findAffiliates', input_params, always_retry=always_retry, **kwargs)
[ "def", "system_find_affiliates", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findAffiliates'", ",", "input_params", ",", "always_retry", "=", "always_retry", "...
Invokes the /system/findAffiliates API method.
[ "Invokes", "the", "/", "system", "/", "findAffiliates", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1213-L1217
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_apps
def system_find_apps(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findApps API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindApps """ return DXHTTPRequest('/system/findApps', input_params, always_retry=a...
python
def system_find_apps(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findApps API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindApps """ return DXHTTPRequest('/system/findApps', input_params, always_retry=a...
[ "def", "system_find_apps", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findApps'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", ...
Invokes the /system/findApps API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindApps
[ "Invokes", "the", "/", "system", "/", "findApps", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1219-L1225
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_data_objects
def system_find_data_objects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDataObjects """ return DXHTTPRequest('/system/findDataObjects',...
python
def system_find_data_objects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDataObjects """ return DXHTTPRequest('/system/findDataObjects',...
[ "def", "system_find_data_objects", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findDataObjects'", ",", "input_params", ",", "always_retry", "=", "always_retry", ...
Invokes the /system/findDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDataObjects
[ "Invokes", "the", "/", "system", "/", "findDataObjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1227-L1233
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_global_workflows
def system_find_global_workflows(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findGlobalWorkflows API method. """ return DXHTTPRequest('/system/findGlobalWorkflows', input_params, always_retry=always_retry, **kwargs)
python
def system_find_global_workflows(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findGlobalWorkflows API method. """ return DXHTTPRequest('/system/findGlobalWorkflows', input_params, always_retry=always_retry, **kwargs)
[ "def", "system_find_global_workflows", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findGlobalWorkflows'", ",", "input_params", ",", "always_retry", "=", "always_...
Invokes the /system/findGlobalWorkflows API method.
[ "Invokes", "the", "/", "system", "/", "findGlobalWorkflows", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1235-L1239
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_resolve_data_objects
def system_resolve_data_objects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/resolveDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/resolveDataObjects """ return DXHTTPRequest('/system/resolv...
python
def system_resolve_data_objects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/resolveDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/resolveDataObjects """ return DXHTTPRequest('/system/resolv...
[ "def", "system_resolve_data_objects", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/resolveDataObjects'", ",", "input_params", ",", "always_retry", "=", "always_re...
Invokes the /system/resolveDataObjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/resolveDataObjects
[ "Invokes", "the", "/", "system", "/", "resolveDataObjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1241-L1247
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_executions
def system_find_executions(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findExecutions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindExecutions """ return DXHTTPRequest('/system/findExecutions', inpu...
python
def system_find_executions(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findExecutions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindExecutions """ return DXHTTPRequest('/system/findExecutions', inpu...
[ "def", "system_find_executions", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findExecutions'", ",", "input_params", ",", "always_retry", "=", "always_retry", "...
Invokes the /system/findExecutions API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindExecutions
[ "Invokes", "the", "/", "system", "/", "findExecutions", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1249-L1255
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_analyses
def system_find_analyses(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findAnalyses API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindAnalyses """ return DXHTTPRequest('/system/findAnalyses', input_params...
python
def system_find_analyses(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findAnalyses API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindAnalyses """ return DXHTTPRequest('/system/findAnalyses', input_params...
[ "def", "system_find_analyses", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findAnalyses'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", ...
Invokes the /system/findAnalyses API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindAnalyses
[ "Invokes", "the", "/", "system", "/", "findAnalyses", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1257-L1263
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_databases
def system_find_databases(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findDatabases API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDatabases """ return DXHTTPRequest('/system/findDatabases', input_pa...
python
def system_find_databases(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findDatabases API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDatabases """ return DXHTTPRequest('/system/findDatabases', input_pa...
[ "def", "system_find_databases", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findDatabases'", ",", "input_params", ",", "always_retry", "=", "always_retry", ","...
Invokes the /system/findDatabases API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDatabases
[ "Invokes", "the", "/", "system", "/", "findDatabases", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1265-L1271
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_jobs
def system_find_jobs(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findJobs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindJobs """ return DXHTTPRequest('/system/findJobs', input_params, always_retry=a...
python
def system_find_jobs(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findJobs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindJobs """ return DXHTTPRequest('/system/findJobs', input_params, always_retry=a...
[ "def", "system_find_jobs", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findJobs'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", ...
Invokes the /system/findJobs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindJobs
[ "Invokes", "the", "/", "system", "/", "findJobs", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1273-L1279
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_projects
def system_find_projects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindProjects """ return DXHTTPRequest('/system/findProjects', input_params...
python
def system_find_projects(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindProjects """ return DXHTTPRequest('/system/findProjects', input_params...
[ "def", "system_find_projects", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findProjects'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", ...
Invokes the /system/findProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindProjects
[ "Invokes", "the", "/", "system", "/", "findProjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1281-L1287
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_users
def system_find_users(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findUsers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindUsers """ return DXHTTPRequest('/system/findUsers', input_params, always_ret...
python
def system_find_users(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findUsers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindUsers """ return DXHTTPRequest('/system/findUsers', input_params, always_ret...
[ "def", "system_find_users", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findUsers'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*",...
Invokes the /system/findUsers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindUsers
[ "Invokes", "the", "/", "system", "/", "findUsers", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1289-L1295
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_project_members
def system_find_project_members(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findProjectMembers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findProjectMembers """ return DXHTTPRequest('/system/findProjectMem...
python
def system_find_project_members(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findProjectMembers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findProjectMembers """ return DXHTTPRequest('/system/findProjectMem...
[ "def", "system_find_project_members", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findProjectMembers'", ",", "input_params", ",", "always_retry", "=", "always_re...
Invokes the /system/findProjectMembers API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findProjectMembers
[ "Invokes", "the", "/", "system", "/", "findProjectMembers", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1297-L1303
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_find_orgs
def system_find_orgs(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findOrgs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findOrgs """ return DXHTTPRequest('/system/findOrgs', input_params, always_retry=always_...
python
def system_find_orgs(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/findOrgs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findOrgs """ return DXHTTPRequest('/system/findOrgs', input_params, always_retry=always_...
[ "def", "system_find_orgs", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/findOrgs'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", ...
Invokes the /system/findOrgs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findOrgs
[ "Invokes", "the", "/", "system", "/", "findOrgs", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1305-L1311
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_generate_batch_inputs
def system_generate_batch_inputs(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/generateBatchInputs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/generateBatchInputs """ return DXHTTPRequest('/system/generateBat...
python
def system_generate_batch_inputs(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/generateBatchInputs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/generateBatchInputs """ return DXHTTPRequest('/system/generateBat...
[ "def", "system_generate_batch_inputs", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/generateBatchInputs'", ",", "input_params", ",", "always_retry", "=", "always_...
Invokes the /system/generateBatchInputs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/generateBatchInputs
[ "Invokes", "the", "/", "system", "/", "generateBatchInputs", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1313-L1319
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_global_search
def system_global_search(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/globalSearch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/globalSearch """ return DXHTTPRequest('/system/globalSearch', input_params, alwa...
python
def system_global_search(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/globalSearch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/globalSearch """ return DXHTTPRequest('/system/globalSearch', input_params, alwa...
[ "def", "system_global_search", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/globalSearch'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", ...
Invokes the /system/globalSearch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/globalSearch
[ "Invokes", "the", "/", "system", "/", "globalSearch", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1321-L1327
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_greet
def system_greet(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/greet API method. """ return DXHTTPRequest('/system/greet', input_params, always_retry=always_retry, **kwargs)
python
def system_greet(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/greet API method. """ return DXHTTPRequest('/system/greet', input_params, always_retry=always_retry, **kwargs)
[ "def", "system_greet", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/greet'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", "*", ...
Invokes the /system/greet API method.
[ "Invokes", "the", "/", "system", "/", "greet", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1329-L1333
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_headers
def system_headers(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/headers API method. """ return DXHTTPRequest('/system/headers', input_params, always_retry=always_retry, **kwargs)
python
def system_headers(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/headers API method. """ return DXHTTPRequest('/system/headers', input_params, always_retry=always_retry, **kwargs)
[ "def", "system_headers", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/headers'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", "*...
Invokes the /system/headers API method.
[ "Invokes", "the", "/", "system", "/", "headers", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1335-L1339
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_shorten_url
def system_shorten_url(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/shortenURL API method. """ return DXHTTPRequest('/system/shortenURL', input_params, always_retry=always_retry, **kwargs)
python
def system_shorten_url(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/shortenURL API method. """ return DXHTTPRequest('/system/shortenURL', input_params, always_retry=always_retry, **kwargs)
[ "def", "system_shorten_url", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/shortenURL'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*...
Invokes the /system/shortenURL API method.
[ "Invokes", "the", "/", "system", "/", "shortenURL", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1341-L1345
dnanexus/dx-toolkit
src/python/dxpy/api.py
system_whoami
def system_whoami(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/whoami API method. """ return DXHTTPRequest('/system/whoami', input_params, always_retry=always_retry, **kwargs)
python
def system_whoami(input_params={}, always_retry=True, **kwargs): """ Invokes the /system/whoami API method. """ return DXHTTPRequest('/system/whoami', input_params, always_retry=always_retry, **kwargs)
[ "def", "system_whoami", "(", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/system/whoami'", ",", "input_params", ",", "always_retry", "=", "always_retry", ",", "*", "*",...
Invokes the /system/whoami API method.
[ "Invokes", "the", "/", "system", "/", "whoami", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1347-L1351
dnanexus/dx-toolkit
src/python/dxpy/api.py
user_describe
def user_describe(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /user-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fdescribe """ return DXHTTPRequest('/%s/describe' % object_id, input_p...
python
def user_describe(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /user-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fdescribe """ return DXHTTPRequest('/%s/describe' % object_id, input_p...
[ "def", "user_describe", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/describe'", "%", "object_id", ",", "input_params", ",", "always_retry", "...
Invokes the /user-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fdescribe
[ "Invokes", "the", "/", "user", "-", "xxxx", "/", "describe", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1353-L1359
dnanexus/dx-toolkit
src/python/dxpy/api.py
user_update
def user_update(object_id, input_params={}, always_retry=False, **kwargs): """ Invokes the /user-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fupdate """ return DXHTTPRequest('/%s/update' % object_id, input_params, ...
python
def user_update(object_id, input_params={}, always_retry=False, **kwargs): """ Invokes the /user-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fupdate """ return DXHTTPRequest('/%s/update' % object_id, input_params, ...
[ "def", "user_update", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "False", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/update'", "%", "object_id", ",", "input_params", ",", "always_retry", "=",...
Invokes the /user-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fupdate
[ "Invokes", "the", "/", "user", "-", "xxxx", "/", "update", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1361-L1367
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_add_stage
def workflow_add_stage(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/addStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FaddStage """ return DXHTTPRequest('/%s/...
python
def workflow_add_stage(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/addStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FaddStage """ return DXHTTPRequest('/%s/...
[ "def", "workflow_add_stage", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/addStage'", "%", "object_id", ",", "input_params", ",", "always_retry"...
Invokes the /workflow-xxxx/addStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FaddStage
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "addStage", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1369-L1375
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_add_tags
def workflow_add_tags(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags """ return DXHTTPRequest('/%s/addTags' % object_id, in...
python
def workflow_add_tags(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags """ return DXHTTPRequest('/%s/addTags' % object_id, in...
[ "def", "workflow_add_tags", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/addTags'", "%", "object_id", ",", "input_params", ",", "always_retry", ...
Invokes the /workflow-xxxx/addTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "addTags", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1377-L1383
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_add_types
def workflow_add_types(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/addTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes """ return DXHTTPRequest('/%s/addTypes' % object_i...
python
def workflow_add_types(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/addTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes """ return DXHTTPRequest('/%s/addTypes' % object_i...
[ "def", "workflow_add_types", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/addTypes'", "%", "object_id", ",", "input_params", ",", "always_retry"...
Invokes the /workflow-xxxx/addTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "addTypes", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1385-L1391
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_close
def workflow_close(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-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 """ return DXHTTPRequest('/%s/close' % objec...
python
def workflow_close(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-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 """ return DXHTTPRequest('/%s/close' % objec...
[ "def", "workflow_close", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/close'", "%", "object_id", ",", "input_params", ",", "always_retry", "="...
Invokes the /workflow-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
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "close", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1393-L1399
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_describe
def workflow_describe(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fdescribe """ return DXHTTPRequest('/%s/d...
python
def workflow_describe(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fdescribe """ return DXHTTPRequest('/%s/d...
[ "def", "workflow_describe", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/describe'", "%", "object_id", ",", "input_params", ",", "always_retry",...
Invokes the /workflow-xxxx/describe API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fdescribe
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "describe", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1401-L1407
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_dry_run
def workflow_dry_run(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/dryRun API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun """ return DXHTTPRequest('/%s/dryRun...
python
def workflow_dry_run(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/dryRun API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun """ return DXHTTPRequest('/%s/dryRun...
[ "def", "workflow_dry_run", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/dryRun'", "%", "object_id", ",", "input_params", ",", "always_retry", ...
Invokes the /workflow-xxxx/dryRun API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "dryRun", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1409-L1415
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_get_details
def workflow_get_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-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 """ return DXHTTPRequest('/%s/ge...
python
def workflow_get_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-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 """ return DXHTTPRequest('/%s/ge...
[ "def", "workflow_get_details", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/getDetails'", "%", "object_id", ",", "input_params", ",", "always_re...
Invokes the /workflow-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
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "getDetails", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1417-L1423
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_is_stage_compatible
def workflow_is_stage_compatible(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/isStageCompatible API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FisStageCompatible """ ...
python
def workflow_is_stage_compatible(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/isStageCompatible API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FisStageCompatible """ ...
[ "def", "workflow_is_stage_compatible", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/isStageCompatible'", "%", "object_id", ",", "input_params", ",...
Invokes the /workflow-xxxx/isStageCompatible API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FisStageCompatible
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "isStageCompatible", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1425-L1431
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_list_projects
def workflow_list_projects(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects """ return DXHTTPRequest('/%s/listPr...
python
def workflow_list_projects(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects """ return DXHTTPRequest('/%s/listPr...
[ "def", "workflow_list_projects", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/listProjects'", "%", "object_id", ",", "input_params", ",", "alway...
Invokes the /workflow-xxxx/listProjects API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "listProjects", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1433-L1439
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_move_stage
def workflow_move_stage(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/moveStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FmoveStage """ return DXHTTPRequest('/...
python
def workflow_move_stage(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/moveStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FmoveStage """ return DXHTTPRequest('/...
[ "def", "workflow_move_stage", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/moveStage'", "%", "object_id", ",", "input_params", ",", "always_retr...
Invokes the /workflow-xxxx/moveStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FmoveStage
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "moveStage", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1441-L1447
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_overwrite
def workflow_overwrite(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/overwrite API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Foverwrite """ return DXHTTPRequest('/%...
python
def workflow_overwrite(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/overwrite API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Foverwrite """ return DXHTTPRequest('/%...
[ "def", "workflow_overwrite", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/overwrite'", "%", "object_id", ",", "input_params", ",", "always_retry...
Invokes the /workflow-xxxx/overwrite API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Foverwrite
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "overwrite", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1449-L1455
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_remove_stage
def workflow_remove_stage(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/removeStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FremoveStage """ return DXHTTPRequ...
python
def workflow_remove_stage(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/removeStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FremoveStage """ return DXHTTPRequ...
[ "def", "workflow_remove_stage", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/removeStage'", "%", "object_id", ",", "input_params", ",", "always_...
Invokes the /workflow-xxxx/removeStage API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FremoveStage
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "removeStage", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1457-L1463
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_remove_tags
def workflow_remove_tags(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags """ return DXHTTPRequest('/%s/removeTags' % o...
python
def workflow_remove_tags(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags """ return DXHTTPRequest('/%s/removeTags' % o...
[ "def", "workflow_remove_tags", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/removeTags'", "%", "object_id", ",", "input_params", ",", "always_re...
Invokes the /workflow-xxxx/removeTags API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "removeTags", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1465-L1471
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_remove_types
def workflow_remove_types(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes """ return DXHTTPRequest('/%s/removeTypes...
python
def workflow_remove_types(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes """ return DXHTTPRequest('/%s/removeTypes...
[ "def", "workflow_remove_types", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/removeTypes'", "%", "object_id", ",", "input_params", ",", "always_...
Invokes the /workflow-xxxx/removeTypes API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "removeTypes", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1473-L1479
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_rename
def workflow_rename(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename """ return DXHTTPRequest('/%s/rename' % object_id, input_p...
python
def workflow_rename(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename """ return DXHTTPRequest('/%s/rename' % object_id, input_p...
[ "def", "workflow_rename", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/rename'", "%", "object_id", ",", "input_params", ",", "always_retry", "...
Invokes the /workflow-xxxx/rename API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "rename", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1481-L1487
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_validate_batch
def workflow_validate_batch(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/validateBatch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FvalidateBatch """ return DXHT...
python
def workflow_validate_batch(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/validateBatch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FvalidateBatch """ return DXHT...
[ "def", "workflow_validate_batch", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/validateBatch'", "%", "object_id", ",", "input_params", ",", "alw...
Invokes the /workflow-xxxx/validateBatch API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FvalidateBatch
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "validateBatch", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1498-L1504
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_set_details
def workflow_set_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-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 """ return DXHTTPRequest('/%s/se...
python
def workflow_set_details(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-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 """ return DXHTTPRequest('/%s/se...
[ "def", "workflow_set_details", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setDetails'", "%", "object_id", ",", "input_params", ",", "always_re...
Invokes the /workflow-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
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "setDetails", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1506-L1512
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_set_properties
def workflow_set_properties(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties """ return DXHTTPRequest('/%s/...
python
def workflow_set_properties(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties """ return DXHTTPRequest('/%s/...
[ "def", "workflow_set_properties", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setProperties'", "%", "object_id", ",", "input_params", ",", "alw...
Invokes the /workflow-xxxx/setProperties API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "setProperties", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1514-L1520
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_set_stage_inputs
def workflow_set_stage_inputs(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/setStageInputs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FsetStageInputs """ return ...
python
def workflow_set_stage_inputs(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/setStageInputs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FsetStageInputs """ return ...
[ "def", "workflow_set_stage_inputs", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setStageInputs'", "%", "object_id", ",", "input_params", ",", "...
Invokes the /workflow-xxxx/setStageInputs API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FsetStageInputs
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "setStageInputs", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1522-L1528
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_set_visibility
def workflow_set_visibility(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility """ return DXHTTPRequest('/%s/...
python
def workflow_set_visibility(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility """ return DXHTTPRequest('/%s/...
[ "def", "workflow_set_visibility", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/setVisibility'", "%", "object_id", ",", "input_params", ",", "alw...
Invokes the /workflow-xxxx/setVisibility API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "setVisibility", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1530-L1536
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_update
def workflow_update(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fupdate """ return DXHTTPRequest('/%s/update'...
python
def workflow_update(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fupdate """ return DXHTTPRequest('/%s/update'...
[ "def", "workflow_update", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/update'", "%", "object_id", ",", "input_params", ",", "always_retry", "...
Invokes the /workflow-xxxx/update API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fupdate
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "update", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1538-L1544
dnanexus/dx-toolkit
src/python/dxpy/api.py
workflow_update_stage_executable
def workflow_update_stage_executable(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/updateStageExecutable API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FupdateStageExecutabl...
python
def workflow_update_stage_executable(object_id, input_params={}, always_retry=True, **kwargs): """ Invokes the /workflow-xxxx/updateStageExecutable API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FupdateStageExecutabl...
[ "def", "workflow_update_stage_executable", "(", "object_id", ",", "input_params", "=", "{", "}", ",", "always_retry", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "DXHTTPRequest", "(", "'/%s/updateStageExecutable'", "%", "object_id", ",", "input_param...
Invokes the /workflow-xxxx/updateStageExecutable API method. For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FupdateStageExecutable
[ "Invokes", "the", "/", "workflow", "-", "xxxx", "/", "updateStageExecutable", "API", "method", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1546-L1552
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
_image_to_data
def _image_to_data(img): """ Does the work of encoding an image into Base64 """ # If the image is already encoded in Base64, we have nothing to do here if "src" not in img.attrs or img["src"].startswith("data:"): return elif re.match("https?://", img["src"]): img_data = _load_url...
python
def _image_to_data(img): """ Does the work of encoding an image into Base64 """ # If the image is already encoded in Base64, we have nothing to do here if "src" not in img.attrs or img["src"].startswith("data:"): return elif re.match("https?://", img["src"]): img_data = _load_url...
[ "def", "_image_to_data", "(", "img", ")", ":", "# If the image is already encoded in Base64, we have nothing to do here", "if", "\"src\"", "not", "in", "img", ".", "attrs", "or", "img", "[", "\"src\"", "]", ".", "startswith", "(", "\"data:\"", ")", ":", "return", ...
Does the work of encoding an image into Base64
[ "Does", "the", "work", "of", "encoding", "an", "image", "into", "Base64" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L45-L61
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
_bake_css
def _bake_css(link): """ Takes a link element and turns it into an inline style link if applicable """ if "href" in link.attrs and (re.search("\.css$", link["href"])) or ("rel" in link.attrs and link["rel"] is "stylesheet") or ("type" in link.attrs and link["type"] is "text/css"): if re.match("h...
python
def _bake_css(link): """ Takes a link element and turns it into an inline style link if applicable """ if "href" in link.attrs and (re.search("\.css$", link["href"])) or ("rel" in link.attrs and link["rel"] is "stylesheet") or ("type" in link.attrs and link["type"] is "text/css"): if re.match("h...
[ "def", "_bake_css", "(", "link", ")", ":", "if", "\"href\"", "in", "link", ".", "attrs", "and", "(", "re", ".", "search", "(", "\"\\.css$\"", ",", "link", "[", "\"href\"", "]", ")", ")", "or", "(", "\"rel\"", "in", "link", ".", "attrs", "and", "lin...
Takes a link element and turns it into an inline style link if applicable
[ "Takes", "a", "link", "element", "and", "turns", "it", "into", "an", "inline", "style", "link", "if", "applicable" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L64-L80
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
_bake_script
def _bake_script(script): """ Takes a script element and bakes it in only if it contains a remote resource """ if "src" in script.attrs: if re.match("https?://", script["src"]): script_data = _load_url(script["src"]).read() else: script_data = _load_file(script["s...
python
def _bake_script(script): """ Takes a script element and bakes it in only if it contains a remote resource """ if "src" in script.attrs: if re.match("https?://", script["src"]): script_data = _load_url(script["src"]).read() else: script_data = _load_file(script["s...
[ "def", "_bake_script", "(", "script", ")", ":", "if", "\"src\"", "in", "script", ".", "attrs", ":", "if", "re", ".", "match", "(", "\"https?://\"", ",", "script", "[", "\"src\"", "]", ")", ":", "script_data", "=", "_load_url", "(", "script", "[", "\"sr...
Takes a script element and bakes it in only if it contains a remote resource
[ "Takes", "a", "script", "element", "and", "bakes", "it", "in", "only", "if", "it", "contains", "a", "remote", "resource" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L83-L98
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
_load_file
def _load_file(path): """ Loads a file from the local filesystem """ if not os.path.exists(path): parser.error("{} was not found!".format(path)) if USING_PYTHON2: mode = "r" else: mode = "rb" try: f = open(path, mode) return f except IOError as ex:...
python
def _load_file(path): """ Loads a file from the local filesystem """ if not os.path.exists(path): parser.error("{} was not found!".format(path)) if USING_PYTHON2: mode = "r" else: mode = "rb" try: f = open(path, mode) return f except IOError as ex:...
[ "def", "_load_file", "(", "path", ")", ":", "if", "not", "os", ".", "path", ".", "exists", "(", "path", ")", ":", "parser", ".", "error", "(", "\"{} was not found!\"", ".", "format", "(", "path", ")", ")", "if", "USING_PYTHON2", ":", "mode", "=", "\"...
Loads a file from the local filesystem
[ "Loads", "a", "file", "from", "the", "local", "filesystem" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L109-L123
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
_load_url
def _load_url(url): """ Loads a URL resource from a remote server """ try: response = requests.get(url) return BytesIO(response.content) except IOError as ex: parser.error("{url} could not be loaded remotely! ({ex})".format(url=url, ex=ex))
python
def _load_url(url): """ Loads a URL resource from a remote server """ try: response = requests.get(url) return BytesIO(response.content) except IOError as ex: parser.error("{url} could not be loaded remotely! ({ex})".format(url=url, ex=ex))
[ "def", "_load_url", "(", "url", ")", ":", "try", ":", "response", "=", "requests", ".", "get", "(", "url", ")", "return", "BytesIO", "(", "response", ".", "content", ")", "except", "IOError", "as", "ex", ":", "parser", ".", "error", "(", "\"{url} could...
Loads a URL resource from a remote server
[ "Loads", "a", "URL", "resource", "from", "a", "remote", "server" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L126-L134
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
_get_bs4_string
def _get_bs4_string(soup): """ Outputs a BeautifulSoup object as a string that should hopefully be minimally modified """ if len(soup.find_all("script")) == 0: soup_str = soup.prettify(formatter=None).strip() else: soup_str = str(soup.html) soup_str = re.sub("&", "&", sou...
python
def _get_bs4_string(soup): """ Outputs a BeautifulSoup object as a string that should hopefully be minimally modified """ if len(soup.find_all("script")) == 0: soup_str = soup.prettify(formatter=None).strip() else: soup_str = str(soup.html) soup_str = re.sub("&", "&", sou...
[ "def", "_get_bs4_string", "(", "soup", ")", ":", "if", "len", "(", "soup", ".", "find_all", "(", "\"script\"", ")", ")", "==", "0", ":", "soup_str", "=", "soup", ".", "prettify", "(", "formatter", "=", "None", ")", ".", "strip", "(", ")", "else", "...
Outputs a BeautifulSoup object as a string that should hopefully be minimally modified
[ "Outputs", "a", "BeautifulSoup", "object", "as", "a", "string", "that", "should", "hopefully", "be", "minimally", "modified" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L138-L149
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
bake
def bake(src): """ Runs the encoder on the given source file """ src = os.path.realpath(src) path = os.path.dirname(src) filename = os.path.basename(src) html = _load_file(src).read() if imghdr.what("", html): html = "<html><body><img src='{}'/></body></html>".format(cgi.escape(f...
python
def bake(src): """ Runs the encoder on the given source file """ src = os.path.realpath(src) path = os.path.dirname(src) filename = os.path.basename(src) html = _load_file(src).read() if imghdr.what("", html): html = "<html><body><img src='{}'/></body></html>".format(cgi.escape(f...
[ "def", "bake", "(", "src", ")", ":", "src", "=", "os", ".", "path", ".", "realpath", "(", "src", ")", "path", "=", "os", ".", "path", ".", "dirname", "(", "src", ")", "filename", "=", "os", ".", "path", ".", "basename", "(", "src", ")", "html",...
Runs the encoder on the given source file
[ "Runs", "the", "encoder", "on", "the", "given", "source", "file" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L152-L175
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
upload_html
def upload_html(destination, html, name=None): """ Uploads the HTML to a file on the server """ [project, path, n] = parse_destination(destination) try: dxfile = dxpy.upload_string(html, media_type="text/html", project=project, folder=path, hidden=True, name=name or None) return dxfi...
python
def upload_html(destination, html, name=None): """ Uploads the HTML to a file on the server """ [project, path, n] = parse_destination(destination) try: dxfile = dxpy.upload_string(html, media_type="text/html", project=project, folder=path, hidden=True, name=name or None) return dxfi...
[ "def", "upload_html", "(", "destination", ",", "html", ",", "name", "=", "None", ")", ":", "[", "project", ",", "path", ",", "n", "]", "=", "parse_destination", "(", "destination", ")", "try", ":", "dxfile", "=", "dxpy", ".", "upload_string", "(", "htm...
Uploads the HTML to a file on the server
[ "Uploads", "the", "HTML", "to", "a", "file", "on", "the", "server" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L178-L187
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
create_record
def create_record(destination, file_ids, width=None, height=None): """ Creates a master record for the HTML report; this doesn't contain contain the actual HTML, but reports are required to be records rather than files and we can link more than one HTML file to a report """ [project, path, name] = p...
python
def create_record(destination, file_ids, width=None, height=None): """ Creates a master record for the HTML report; this doesn't contain contain the actual HTML, but reports are required to be records rather than files and we can link more than one HTML file to a report """ [project, path, name] = p...
[ "def", "create_record", "(", "destination", ",", "file_ids", ",", "width", "=", "None", ",", "height", "=", "None", ")", ":", "[", "project", ",", "path", ",", "name", "]", "=", "parse_destination", "(", "destination", ")", "files", "=", "[", "dxpy", "...
Creates a master record for the HTML report; this doesn't contain contain the actual HTML, but reports are required to be records rather than files and we can link more than one HTML file to a report
[ "Creates", "a", "master", "record", "for", "the", "HTML", "report", ";", "this", "doesn", "t", "contain", "contain", "the", "actual", "HTML", "but", "reports", "are", "required", "to", "be", "records", "rather", "than", "files", "and", "we", "can", "link",...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L190-L207
dnanexus/dx-toolkit
src/python/dxpy/scripts/dx_build_report_html.py
save
def save(filename, html): """ Creates a baked HTML file on the local system """ try: out_file = open(filename, "w") out_file.write(html) out_file.close() except IOError as ex: parser.error("Could not write baked HTML to local file {name}. ({ex})".format(name=filename,...
python
def save(filename, html): """ Creates a baked HTML file on the local system """ try: out_file = open(filename, "w") out_file.write(html) out_file.close() except IOError as ex: parser.error("Could not write baked HTML to local file {name}. ({ex})".format(name=filename,...
[ "def", "save", "(", "filename", ",", "html", ")", ":", "try", ":", "out_file", "=", "open", "(", "filename", ",", "\"w\"", ")", "out_file", ".", "write", "(", "html", ")", "out_file", ".", "close", "(", ")", "except", "IOError", "as", "ex", ":", "p...
Creates a baked HTML file on the local system
[ "Creates", "a", "baked", "HTML", "file", "on", "the", "local", "system" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L210-L219
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
get_size_str
def get_size_str(size): """ Formats a byte size as a string. The returned string is no more than 9 characters long. """ if size == 0: magnitude = 0 level = 0 else: magnitude = math.floor(math.log(size, 10)) level = int(min(math.floor(magnitude // 3), 4)) retu...
python
def get_size_str(size): """ Formats a byte size as a string. The returned string is no more than 9 characters long. """ if size == 0: magnitude = 0 level = 0 else: magnitude = math.floor(math.log(size, 10)) level = int(min(math.floor(magnitude // 3), 4)) retu...
[ "def", "get_size_str", "(", "size", ")", ":", "if", "size", "==", "0", ":", "magnitude", "=", "0", "level", "=", "0", "else", ":", "magnitude", "=", "math", ".", "floor", "(", "math", ".", "log", "(", "size", ",", "10", ")", ")", "level", "=", ...
Formats a byte size as a string. The returned string is no more than 9 characters long.
[ "Formats", "a", "byte", "size", "as", "a", "string", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L60-L72
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
is_job_ref
def is_job_ref(thing, reftype=dict): ''' :param thing: something that might be a job-based object reference hash :param reftype: type that a job-based object reference would be (default is dict) ''' return isinstance(thing, reftype) and \ ((len(thing) == 2 and \ isinstance(thin...
python
def is_job_ref(thing, reftype=dict): ''' :param thing: something that might be a job-based object reference hash :param reftype: type that a job-based object reference would be (default is dict) ''' return isinstance(thing, reftype) and \ ((len(thing) == 2 and \ isinstance(thin...
[ "def", "is_job_ref", "(", "thing", ",", "reftype", "=", "dict", ")", ":", "return", "isinstance", "(", "thing", ",", "reftype", ")", "and", "(", "(", "len", "(", "thing", ")", "==", "2", "and", "isinstance", "(", "thing", ".", "get", "(", "'field'", ...
:param thing: something that might be a job-based object reference hash :param reftype: type that a job-based object reference would be (default is dict)
[ ":", "param", "thing", ":", "something", "that", "might", "be", "a", "job", "-", "based", "object", "reference", "hash", ":", "param", "reftype", ":", "type", "that", "a", "job", "-", "based", "object", "reference", "would", "be", "(", "default", "is", ...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L161-L173
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
print_desc
def print_desc(desc, verbose=False): ''' :param desc: The describe hash of a DNAnexus entity :type desc: dict Depending on the class of the entity, this method will print a formatted and human-readable string containing the data in *desc*. ''' if desc['class'] in ['project', 'workspace', 'c...
python
def print_desc(desc, verbose=False): ''' :param desc: The describe hash of a DNAnexus entity :type desc: dict Depending on the class of the entity, this method will print a formatted and human-readable string containing the data in *desc*. ''' if desc['class'] in ['project', 'workspace', 'c...
[ "def", "print_desc", "(", "desc", ",", "verbose", "=", "False", ")", ":", "if", "desc", "[", "'class'", "]", "in", "[", "'project'", ",", "'workspace'", ",", "'container'", "]", ":", "print_project_desc", "(", "desc", ",", "verbose", "=", "verbose", ")",...
:param desc: The describe hash of a DNAnexus entity :type desc: dict Depending on the class of the entity, this method will print a formatted and human-readable string containing the data in *desc*.
[ ":", "param", "desc", ":", "The", "describe", "hash", "of", "a", "DNAnexus", "entity", ":", "type", "desc", ":", "dict" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L939-L960
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
get_ls_l_desc
def get_ls_l_desc(desc, include_folder=False, include_project=False): """ desc must have at least all the fields given by get_ls_l_desc_fields. """ # If you make this method consume an additional field, you must add it to # get_ls_l_desc_fields above. if 'state' in desc: state_len = len(...
python
def get_ls_l_desc(desc, include_folder=False, include_project=False): """ desc must have at least all the fields given by get_ls_l_desc_fields. """ # If you make this method consume an additional field, you must add it to # get_ls_l_desc_fields above. if 'state' in desc: state_len = len(...
[ "def", "get_ls_l_desc", "(", "desc", ",", "include_folder", "=", "False", ",", "include_project", "=", "False", ")", ":", "# If you make this method consume an additional field, you must add it to", "# get_ls_l_desc_fields above.", "if", "'state'", "in", "desc", ":", "state...
desc must have at least all the fields given by get_ls_l_desc_fields.
[ "desc", "must", "have", "at", "least", "all", "the", "fields", "given", "by", "get_ls_l_desc_fields", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L1002-L1039
dnanexus/dx-toolkit
src/python/dxpy/utils/describe.py
get_find_executions_string
def get_find_executions_string(desc, has_children, single_result=False, show_outputs=True, is_cached_result=False): ''' :param desc: hash of execution's describe output :param has_children: whether the execution has children to be printed :param single_result: whether the ...
python
def get_find_executions_string(desc, has_children, single_result=False, show_outputs=True, is_cached_result=False): ''' :param desc: hash of execution's describe output :param has_children: whether the execution has children to be printed :param single_result: whether the ...
[ "def", "get_find_executions_string", "(", "desc", ",", "has_children", ",", "single_result", "=", "False", ",", "show_outputs", "=", "True", ",", "is_cached_result", "=", "False", ")", ":", "is_not_subjob", "=", "desc", "[", "'parentJob'", "]", "is", "None", "...
:param desc: hash of execution's describe output :param has_children: whether the execution has children to be printed :param single_result: whether the execution is displayed as a single result or as part of an execution tree :param is_cached_result: whether the execution should be formatted as a cached re...
[ ":", "param", "desc", ":", "hash", "of", "execution", "s", "describe", "output", ":", "param", "has_children", ":", "whether", "the", "execution", "has", "children", "to", "be", "printed", ":", "param", "single_result", ":", "whether", "the", "execution", "i...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L1046-L1110
dnanexus/dx-toolkit
src/python/dxpy/system_requirements.py
SystemRequirementsDict.from_instance_count
def from_instance_count(cls, instance_count_arg, entrypoint="*"): """ Returns a SystemRequirementsDict that can be passed as a "systemRequirements" input to job/new or run/ API calls. The instance_count_arg should be either a: * string or int eg. "6" or 8 * dictionary, eg...
python
def from_instance_count(cls, instance_count_arg, entrypoint="*"): """ Returns a SystemRequirementsDict that can be passed as a "systemRequirements" input to job/new or run/ API calls. The instance_count_arg should be either a: * string or int eg. "6" or 8 * dictionary, eg...
[ "def", "from_instance_count", "(", "cls", ",", "instance_count_arg", ",", "entrypoint", "=", "\"*\"", ")", ":", "try", ":", "if", "instance_count_arg", "is", "None", ":", "return", "cls", "(", "None", ")", "if", "isinstance", "(", "instance_count_arg", ",", ...
Returns a SystemRequirementsDict that can be passed as a "systemRequirements" input to job/new or run/ API calls. The instance_count_arg should be either a: * string or int eg. "6" or 8 * dictionary, eg. {"main": 4, "other_function": 2}
[ "Returns", "a", "SystemRequirementsDict", "that", "can", "be", "passed", "as", "a", "systemRequirements", "input", "to", "job", "/", "new", "or", "run", "/", "API", "calls", ".", "The", "instance_count_arg", "should", "be", "either", "a", ":", "*", "string",...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L40-L57
dnanexus/dx-toolkit
src/python/dxpy/system_requirements.py
SystemRequirementsDict.from_instance_type
def from_instance_type(cls, instance_type_arg, entrypoint="*"): """ Returns SystemRequirementsDict that can be passed as a "systemRequirements" input to job/new or run/ API calls. The instance_type_arg should be either a: * string, eg. mem1_ssd1_x2 * dictionary, eg. {"mai...
python
def from_instance_type(cls, instance_type_arg, entrypoint="*"): """ Returns SystemRequirementsDict that can be passed as a "systemRequirements" input to job/new or run/ API calls. The instance_type_arg should be either a: * string, eg. mem1_ssd1_x2 * dictionary, eg. {"mai...
[ "def", "from_instance_type", "(", "cls", ",", "instance_type_arg", ",", "entrypoint", "=", "\"*\"", ")", ":", "if", "instance_type_arg", "is", "None", ":", "return", "cls", "(", "None", ")", "if", "isinstance", "(", "instance_type_arg", ",", "basestring", ")",...
Returns SystemRequirementsDict that can be passed as a "systemRequirements" input to job/new or run/ API calls. The instance_type_arg should be either a: * string, eg. mem1_ssd1_x2 * dictionary, eg. {"main": "mem2_hdd2_x2", "other_function": "mem2_hdd2_x1"}
[ "Returns", "SystemRequirementsDict", "that", "can", "be", "passed", "as", "a", "systemRequirements", "input", "to", "job", "/", "new", "or", "run", "/", "API", "calls", ".", "The", "instance_type_arg", "should", "be", "either", "a", ":", "*", "string", "eg",...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L60-L76
dnanexus/dx-toolkit
src/python/dxpy/system_requirements.py
SystemRequirementsDict.from_sys_requirements
def from_sys_requirements(cls, system_requirements, _type='all'): """ Returns SystemRequirementsDict encapsulating system requirements. It can extract only entrypoints with specific fields ('clusterSpec', 'instanceType', etc), depending on the value of _type. """ if _type...
python
def from_sys_requirements(cls, system_requirements, _type='all'): """ Returns SystemRequirementsDict encapsulating system requirements. It can extract only entrypoints with specific fields ('clusterSpec', 'instanceType', etc), depending on the value of _type. """ if _type...
[ "def", "from_sys_requirements", "(", "cls", ",", "system_requirements", ",", "_type", "=", "'all'", ")", ":", "if", "_type", "not", "in", "(", "'all'", ",", "'clusterSpec'", ",", "'instanceType'", ")", ":", "raise", "DXError", "(", "\"Expected '_type' to be eith...
Returns SystemRequirementsDict encapsulating system requirements. It can extract only entrypoints with specific fields ('clusterSpec', 'instanceType', etc), depending on the value of _type.
[ "Returns", "SystemRequirementsDict", "encapsulating", "system", "requirements", ".", "It", "can", "extract", "only", "entrypoints", "with", "specific", "fields", "(", "clusterSpec", "instanceType", "etc", ")", "depending", "on", "the", "value", "of", "_type", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L79-L95
dnanexus/dx-toolkit
src/python/dxpy/system_requirements.py
SystemRequirementsDict.override_cluster_spec
def override_cluster_spec(self, srd): """ Returns SystemRequirementsDict can be passed in a "systemRequirements" input to app-xxx/run, e.g. {'fn': {'clusterSpec': {initialInstanceCount: 3, version: "2.4.0", ..}}} Since full clusterSpec must be passed to the API server, we need to retriev...
python
def override_cluster_spec(self, srd): """ Returns SystemRequirementsDict can be passed in a "systemRequirements" input to app-xxx/run, e.g. {'fn': {'clusterSpec': {initialInstanceCount: 3, version: "2.4.0", ..}}} Since full clusterSpec must be passed to the API server, we need to retriev...
[ "def", "override_cluster_spec", "(", "self", ",", "srd", ")", ":", "merged_cluster_spec", "=", "copy", ".", "deepcopy", "(", "self", ".", "entrypoints", ")", "# Remove entrypoints without \"clusterSpec\"", "merged_cluster_spec", "=", "dict", "(", "[", "(", "k", ",...
Returns SystemRequirementsDict can be passed in a "systemRequirements" input to app-xxx/run, e.g. {'fn': {'clusterSpec': {initialInstanceCount: 3, version: "2.4.0", ..}}} Since full clusterSpec must be passed to the API server, we need to retrieve the cluster spec defined in app doc's systemRequ...
[ "Returns", "SystemRequirementsDict", "can", "be", "passed", "in", "a", "systemRequirements", "input", "to", "app", "-", "xxx", "/", "run", "e", ".", "g", ".", "{", "fn", ":", "{", "clusterSpec", ":", "{", "initialInstanceCount", ":", "3", "version", ":", ...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L97-L163
dnanexus/dx-toolkit
src/python/dxpy/system_requirements.py
SystemRequirementsDict._add_dict_values
def _add_dict_values(self, d1, d2): """ Merges the values of two dictionaries, which are expected to be dictionaries, e.g d1 = {'a': {'x': pqr}} d2 = {'a': {'y': lmn}, 'b': {'y': rst}} will return: {'a': {'x': pqr, 'y': lmn}, 'b': {'y': rst}}. Collisions of the keys of th...
python
def _add_dict_values(self, d1, d2): """ Merges the values of two dictionaries, which are expected to be dictionaries, e.g d1 = {'a': {'x': pqr}} d2 = {'a': {'y': lmn}, 'b': {'y': rst}} will return: {'a': {'x': pqr, 'y': lmn}, 'b': {'y': rst}}. Collisions of the keys of th...
[ "def", "_add_dict_values", "(", "self", ",", "d1", ",", "d2", ")", ":", "if", "d1", "is", "None", "and", "d2", "is", "None", ":", "return", "None", "d1", "=", "d1", "or", "{", "}", "d2", "=", "d2", "or", "{", "}", "added", "=", "{", "}", "for...
Merges the values of two dictionaries, which are expected to be dictionaries, e.g d1 = {'a': {'x': pqr}} d2 = {'a': {'y': lmn}, 'b': {'y': rst}} will return: {'a': {'x': pqr, 'y': lmn}, 'b': {'y': rst}}. Collisions of the keys of the sub-dictionaries are not checked.
[ "Merges", "the", "values", "of", "two", "dictionaries", "which", "are", "expected", "to", "be", "dictionaries", "e", ".", "g", "d1", "=", "{", "a", ":", "{", "x", ":", "pqr", "}}", "d2", "=", "{", "a", ":", "{", "y", ":", "lmn", "}", "b", ":", ...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L165-L183
dnanexus/dx-toolkit
src/python/dxpy/bindings/dxrecord.py
new_dxrecord
def new_dxrecord(details=None, **kwargs): ''' :rtype: :class:`DXRecord` :param details: The contents of the record to be created. :type details: dict Additional optional parameters not listed: all those under :func:`dxpy.bindings.DXDataObject.new`, except `details`. Creates a new remote r...
python
def new_dxrecord(details=None, **kwargs): ''' :rtype: :class:`DXRecord` :param details: The contents of the record to be created. :type details: dict Additional optional parameters not listed: all those under :func:`dxpy.bindings.DXDataObject.new`, except `details`. Creates a new remote r...
[ "def", "new_dxrecord", "(", "details", "=", "None", ",", "*", "*", "kwargs", ")", ":", "dxrecord", "=", "DXRecord", "(", ")", "dxrecord", ".", "new", "(", "details", "=", "details", ",", "*", "*", "kwargs", ")", "return", "dxrecord" ]
:rtype: :class:`DXRecord` :param details: The contents of the record to be created. :type details: dict Additional optional parameters not listed: all those under :func:`dxpy.bindings.DXDataObject.new`, except `details`. Creates a new remote record object with project set to *project* and ret...
[ ":", "rtype", ":", ":", "class", ":", "DXRecord" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/dxrecord.py#L32-L57
dnanexus/dx-toolkit
src/python/dxpy/bindings/dxrecord.py
DXRecord._new
def _new(self, dx_hash, close=False, **kwargs): """ :param dx_hash: Standard hash populated in :func:`dxpy.bindings.DXDataObject.new()` containing attributes common to all data object classes. :type dx_hash: dict :param init_from: Record from which to initialize the metadata :typ...
python
def _new(self, dx_hash, close=False, **kwargs): """ :param dx_hash: Standard hash populated in :func:`dxpy.bindings.DXDataObject.new()` containing attributes common to all data object classes. :type dx_hash: dict :param init_from: Record from which to initialize the metadata :typ...
[ "def", "_new", "(", "self", ",", "dx_hash", ",", "close", "=", "False", ",", "*", "*", "kwargs", ")", ":", "if", "\"init_from\"", "in", "kwargs", ":", "if", "kwargs", "[", "\"init_from\"", "]", "is", "not", "None", ":", "if", "not", "isinstance", "("...
:param dx_hash: Standard hash populated in :func:`dxpy.bindings.DXDataObject.new()` containing attributes common to all data object classes. :type dx_hash: dict :param init_from: Record from which to initialize the metadata :type init_from: :class:`DXRecord` :param close: Whether or not ...
[ ":", "param", "dx_hash", ":", "Standard", "hash", "populated", "in", ":", "func", ":", "dxpy", ".", "bindings", ".", "DXDataObject", ".", "new", "()", "containing", "attributes", "common", "to", "all", "data", "object", "classes", ".", ":", "type", "dx_has...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/dxrecord.py#L79-L105
dnanexus/dx-toolkit
src/python/dxpy/utils/executable_unbuilder.py
_recursive_cleanup
def _recursive_cleanup(foo): """ Aggressively cleans up things that look empty. """ if isinstance(foo, dict): for (key, val) in list(foo.items()): if isinstance(val, dict): _recursive_cleanup(val) if val == "" or val == [] or val == {}: del...
python
def _recursive_cleanup(foo): """ Aggressively cleans up things that look empty. """ if isinstance(foo, dict): for (key, val) in list(foo.items()): if isinstance(val, dict): _recursive_cleanup(val) if val == "" or val == [] or val == {}: del...
[ "def", "_recursive_cleanup", "(", "foo", ")", ":", "if", "isinstance", "(", "foo", ",", "dict", ")", ":", "for", "(", "key", ",", "val", ")", "in", "list", "(", "foo", ".", "items", "(", ")", ")", ":", "if", "isinstance", "(", "val", ",", "dict",...
Aggressively cleans up things that look empty.
[ "Aggressively", "cleans", "up", "things", "that", "look", "empty", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/executable_unbuilder.py#L41-L50
dnanexus/dx-toolkit
src/python/dxpy/utils/executable_unbuilder.py
dump_executable
def dump_executable(executable, destination_directory, omit_resources=False, describe_output={}): """ Reconstitutes an app, applet, or a workflow into a directory that would create a functionally identical executable if "dx build" were run on it. destination_directory will be the root source directory f...
python
def dump_executable(executable, destination_directory, omit_resources=False, describe_output={}): """ Reconstitutes an app, applet, or a workflow into a directory that would create a functionally identical executable if "dx build" were run on it. destination_directory will be the root source directory f...
[ "def", "dump_executable", "(", "executable", ",", "destination_directory", ",", "omit_resources", "=", "False", ",", "describe_output", "=", "{", "}", ")", ":", "try", ":", "old_cwd", "=", "os", ".", "getcwd", "(", ")", "os", ".", "chdir", "(", "destinatio...
Reconstitutes an app, applet, or a workflow into a directory that would create a functionally identical executable if "dx build" were run on it. destination_directory will be the root source directory for the executable. :param executable: executable, i.e. app, applet, or workflow, to be dumped :ty...
[ "Reconstitutes", "an", "app", "applet", "or", "a", "workflow", "into", "a", "directory", "that", "would", "create", "a", "functionally", "identical", "executable", "if", "dx", "build", "were", "run", "on", "it", ".", "destination_directory", "will", "be", "the...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/executable_unbuilder.py#L310-L354
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
resolve_data_objects
def resolve_data_objects(objects, project=None, folder=None, batchsize=1000): """ :param objects: Data object specifications, each with fields "name" (required), "folder", and "project" :type objects: list of dictionaries :param project: ID of project context; a data object's project...
python
def resolve_data_objects(objects, project=None, folder=None, batchsize=1000): """ :param objects: Data object specifications, each with fields "name" (required), "folder", and "project" :type objects: list of dictionaries :param project: ID of project context; a data object's project...
[ "def", "resolve_data_objects", "(", "objects", ",", "project", "=", "None", ",", "folder", "=", "None", ",", "batchsize", "=", "1000", ")", ":", "if", "not", "isinstance", "(", "batchsize", ",", "int", ")", "or", "batchsize", "<=", "0", "or", "batchsize"...
:param objects: Data object specifications, each with fields "name" (required), "folder", and "project" :type objects: list of dictionaries :param project: ID of project context; a data object's project defaults to this if not specified for that object :type project: ...
[ ":", "param", "objects", ":", "Data", "object", "specifications", "each", "with", "fields", "name", "(", "required", ")", "folder", "and", "project", ":", "type", "objects", ":", "list", "of", "dictionaries", ":", "param", "project", ":", "ID", "of", "proj...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L32-L70
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
_find
def _find(api_method, query, limit, return_handler, first_page_size, **kwargs): ''' Takes an API method handler (dxpy.api.find*) and calls it with *query*, and then wraps a generator around its output. Used by the methods below. Note that this function may only be used for /system/find* methods. ''' ...
python
def _find(api_method, query, limit, return_handler, first_page_size, **kwargs): ''' Takes an API method handler (dxpy.api.find*) and calls it with *query*, and then wraps a generator around its output. Used by the methods below. Note that this function may only be used for /system/find* methods. ''' ...
[ "def", "_find", "(", "api_method", ",", "query", ",", "limit", ",", "return_handler", ",", "first_page_size", ",", "*", "*", "kwargs", ")", ":", "num_results", "=", "0", "if", "\"limit\"", "not", "in", "query", ":", "query", "[", "\"limit\"", "]", "=", ...
Takes an API method handler (dxpy.api.find*) and calls it with *query*, and then wraps a generator around its output. Used by the methods below. Note that this function may only be used for /system/find* methods.
[ "Takes", "an", "API", "method", "handler", "(", "dxpy", ".", "api", ".", "find", "*", ")", "and", "calls", "it", "with", "*", "query", "*", "and", "then", "wraps", "a", "generator", "around", "its", "output", ".", "Used", "by", "the", "methods", "bel...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L73-L108
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_data_objects
def find_data_objects(classname=None, state=None, visibility=None, name=None, name_mode='exact', properties=None, typename=None, tag=None, tags=None, link=None, project=None, folder=None, recurse=None, modified_after=None, modified_...
python
def find_data_objects(classname=None, state=None, visibility=None, name=None, name_mode='exact', properties=None, typename=None, tag=None, tags=None, link=None, project=None, folder=None, recurse=None, modified_after=None, modified_...
[ "def", "find_data_objects", "(", "classname", "=", "None", ",", "state", "=", "None", ",", "visibility", "=", "None", ",", "name", "=", "None", ",", "name_mode", "=", "'exact'", ",", "properties", "=", "None", ",", "typename", "=", "None", ",", "tag", ...
:param classname: Class with which to restrict the search, i.e. one of "record", "file", "applet", "workflow" :type classname: string :param state: State of the object ("open", "closing", "closed", "any") :type state: string :param visibility: Visibility of the object ("hidden", "visible...
[ ":", "param", "classname", ":", "Class", "with", "which", "to", "restrict", "the", "search", "i", ".", "e", ".", "one", "of", "record", "file", "applet", "workflow", ":", "type", "classname", ":", "string", ":", "param", "state", ":", "State", "of", "t...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L110-L266
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_executions
def find_executions(classname=None, launched_by=None, executable=None, project=None, state=None, origin_job=None, parent_job=None, no_parent_job=False, parent_analysis=None, no_parent_analysis=False, root_execution=None, created_after=None, created_before=None...
python
def find_executions(classname=None, launched_by=None, executable=None, project=None, state=None, origin_job=None, parent_job=None, no_parent_job=False, parent_analysis=None, no_parent_analysis=False, root_execution=None, created_after=None, created_before=None...
[ "def", "find_executions", "(", "classname", "=", "None", ",", "launched_by", "=", "None", ",", "executable", "=", "None", ",", "project", "=", "None", ",", "state", "=", "None", ",", "origin_job", "=", "None", ",", "parent_job", "=", "None", ",", "no_par...
:param classname: Class with which to restrict the search, i.e. one of "job", "analysis" :type classname: string :param launched_by: User ID of the user who launched the execution's origin execution :type launched_by: string :param executable: ID of the applet or app that spawned this ex...
[ ":", "param", "classname", ":", "Class", "with", "which", "to", "restrict", "the", "search", "i", ".", "e", ".", "one", "of", "job", "analysis", ":", "type", "classname", ":", "string", ":", "param", "launched_by", ":", "User", "ID", "of", "the", "user...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L269-L418
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_projects
def find_projects(name=None, name_mode='exact', properties=None, tags=None, level=None, describe=False, explicit_perms=None, region=None, public=None, created_after=None, created_before=None, billed_to=None, limit=None, return_handler=False, first_page_size=100, con...
python
def find_projects(name=None, name_mode='exact', properties=None, tags=None, level=None, describe=False, explicit_perms=None, region=None, public=None, created_after=None, created_before=None, billed_to=None, limit=None, return_handler=False, first_page_size=100, con...
[ "def", "find_projects", "(", "name", "=", "None", ",", "name_mode", "=", "'exact'", ",", "properties", "=", "None", ",", "tags", "=", "None", ",", "level", "=", "None", ",", "describe", "=", "False", ",", "explicit_perms", "=", "None", ",", "region", "...
:param name: Name of the project (also see *name_mode*) :type name: string :param name_mode: Method by which to interpret the *name* field ("exact": exact match, "glob": use "*" and "?" as wildcards, "regexp": interpret as a regular expression) :type name_mode: string :param properties: Properties (key-...
[ ":", "param", "name", ":", "Name", "of", "the", "project", "(", "also", "see", "*", "name_mode", "*", ")", ":", "type", "name", ":", "string", ":", "param", "name_mode", ":", "Method", "by", "which", "to", "interpret", "the", "*", "name", "*", "field...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L434-L526
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_global_executables
def find_global_executables(method, name=None, name_mode='exact', category=None, all_versions=None, published=None, billed_to=None, created_by=None, developer=None, created_after=None, created_before=None, mo...
python
def find_global_executables(method, name=None, name_mode='exact', category=None, all_versions=None, published=None, billed_to=None, created_by=None, developer=None, created_after=None, created_before=None, mo...
[ "def", "find_global_executables", "(", "method", ",", "name", "=", "None", ",", "name_mode", "=", "'exact'", ",", "category", "=", "None", ",", "all_versions", "=", "None", ",", "published", "=", "None", ",", "billed_to", "=", "None", ",", "created_by", "=...
:param method: Name of the API method used to find the global executable (app or a global workflow). :type name: function :param name: Name of the app or a global workflow (also see *name_mode*) :type name: string :param name_mode: Method by which to interpret the *name* field ("exact": exact match, "gl...
[ ":", "param", "method", ":", "Name", "of", "the", "API", "method", "used", "to", "find", "the", "global", "executable", "(", "app", "or", "a", "global", "workflow", ")", ".", ":", "type", "name", ":", "function", ":", "param", "name", ":", "Name", "o...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L528-L622
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_apps
def find_apps(name=None, name_mode='exact', category=None, all_versions=None, published=None, billed_to=None, created_by=None, developer=None, created_after=None, created_before=None, modified_after=None, modified_before=None, describe=False, limit=N...
python
def find_apps(name=None, name_mode='exact', category=None, all_versions=None, published=None, billed_to=None, created_by=None, developer=None, created_after=None, created_before=None, modified_after=None, modified_before=None, describe=False, limit=N...
[ "def", "find_apps", "(", "name", "=", "None", ",", "name_mode", "=", "'exact'", ",", "category", "=", "None", ",", "all_versions", "=", "None", ",", "published", "=", "None", ",", "billed_to", "=", "None", ",", "created_by", "=", "None", ",", "developer"...
This method is identical to :meth:`find_global_executables()` with the API method used: :meth:`system_find_apps()`.
[ "This", "method", "is", "identical", "to", ":", "meth", ":", "find_global_executables", "()", "with", "the", "API", "method", "used", ":", ":", "meth", ":", "system_find_apps", "()", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L624-L641
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_one_data_object
def find_one_data_object(zero_ok=False, more_ok=True, **kwargs): """ :param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If...
python
def find_one_data_object(zero_ok=False, more_ok=True, **kwargs): """ :param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If...
[ "def", "find_one_data_object", "(", "zero_ok", "=", "False", ",", "more_ok", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "_find_one", "(", "find_data_objects", ",", "zero_ok", "=", "zero_ok", ",", "more_ok", "=", "more_ok", ",", "*", "*", "...
:param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If False, :class:`~dxpy.exceptions.DXSearchError` is raised if the sear...
[ ":", "param", "zero_ok", ":", "If", "False", "(", "default", ")", ":", "class", ":", "~dxpy", ".", "exceptions", ".", "DXSearchError", "is", "raised", "if", "the", "search", "has", "0", "results", ";", "if", "True", "returns", "None", "if", "the", "sea...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L679-L696
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_one_project
def find_one_project(zero_ok=False, more_ok=True, **kwargs): """ :param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If Fal...
python
def find_one_project(zero_ok=False, more_ok=True, **kwargs): """ :param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If Fal...
[ "def", "find_one_project", "(", "zero_ok", "=", "False", ",", "more_ok", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "_find_one", "(", "find_projects", ",", "zero_ok", "=", "zero_ok", ",", "more_ok", "=", "more_ok", ",", "*", "*", "kwargs",...
:param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If False, :class:`~dxpy.exceptions.DXSearchError` is raised if the sear...
[ ":", "param", "zero_ok", ":", "If", "False", "(", "default", ")", ":", "class", ":", "~dxpy", ".", "exceptions", ".", "DXSearchError", "is", "raised", "if", "the", "search", "has", "0", "results", ";", "if", "True", "returns", "None", "if", "the", "sea...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L699-L716
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_one_app
def find_one_app(zero_ok=False, more_ok=True, **kwargs): """ :param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If False, ...
python
def find_one_app(zero_ok=False, more_ok=True, **kwargs): """ :param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If False, ...
[ "def", "find_one_app", "(", "zero_ok", "=", "False", ",", "more_ok", "=", "True", ",", "*", "*", "kwargs", ")", ":", "return", "_find_one", "(", "find_apps", ",", "zero_ok", "=", "zero_ok", ",", "more_ok", "=", "more_ok", ",", "*", "*", "kwargs", ")" ]
:param zero_ok: If False (default), :class:`~dxpy.exceptions.DXSearchError` is raised if the search has 0 results; if True, returns None if the search has 0 results :type zero_ok: bool :param more_ok: If False, :class:`~dxpy.exceptions.DXSearchError` is raised if the sear...
[ ":", "param", "zero_ok", ":", "If", "False", "(", "default", ")", ":", "class", ":", "~dxpy", ".", "exceptions", ".", "DXSearchError", "is", "raised", "if", "the", "search", "has", "0", "results", ";", "if", "True", "returns", "None", "if", "the", "sea...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L719-L736
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
_org_find
def _org_find(api_method, org_id, query, first_page_size=100): """ Takes an API method handler ``dxpy.api.org_find...`` and calls it with *org_id* and *query*, then wraps a generator around its output. Used by :meth:`org_find_members` and :meth:`org_find_projects` below. :param first_page_size: The...
python
def _org_find(api_method, org_id, query, first_page_size=100): """ Takes an API method handler ``dxpy.api.org_find...`` and calls it with *org_id* and *query*, then wraps a generator around its output. Used by :meth:`org_find_members` and :meth:`org_find_projects` below. :param first_page_size: The...
[ "def", "_org_find", "(", "api_method", ",", "org_id", ",", "query", ",", "first_page_size", "=", "100", ")", ":", "if", "\"limit\"", "not", "in", "query", ":", "query", "[", "\"limit\"", "]", "=", "min", "(", "first_page_size", ",", "1000", ")", "while",...
Takes an API method handler ``dxpy.api.org_find...`` and calls it with *org_id* and *query*, then wraps a generator around its output. Used by :meth:`org_find_members` and :meth:`org_find_projects` below. :param first_page_size: The number of results that the initial API call will return. :type first_p...
[ "Takes", "an", "API", "method", "handler", "dxpy", ".", "api", ".", "org_find", "...", "and", "calls", "it", "with", "*", "org_id", "*", "and", "*", "query", "*", "then", "wraps", "a", "generator", "around", "its", "output", ".", "Used", "by", ":", "...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L739-L762
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
org_find_members
def org_find_members(org_id=None, level=None, describe=False): """ :param org_id: ID of the organization :type org_id: string :param level: The membership level in the org that each member in the result set must have (one of "MEMBER" or "ADMIN") :type level: string :param describe: Wheth...
python
def org_find_members(org_id=None, level=None, describe=False): """ :param org_id: ID of the organization :type org_id: string :param level: The membership level in the org that each member in the result set must have (one of "MEMBER" or "ADMIN") :type level: string :param describe: Wheth...
[ "def", "org_find_members", "(", "org_id", "=", "None", ",", "level", "=", "None", ",", "describe", "=", "False", ")", ":", "query", "=", "{", "}", "if", "level", "is", "not", "None", ":", "query", "[", "\"level\"", "]", "=", "level", "query", "[", ...
:param org_id: ID of the organization :type org_id: string :param level: The membership level in the org that each member in the result set must have (one of "MEMBER" or "ADMIN") :type level: string :param describe: Whether or not to return the response of ``dxpy.api.user_describe`` for each res...
[ ":", "param", "org_id", ":", "ID", "of", "the", "organization", ":", "type", "org_id", ":", "string", ":", "param", "level", ":", "The", "membership", "level", "in", "the", "org", "that", "each", "member", "in", "the", "result", "set", "must", "have", ...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L765-L785
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
org_find_projects
def org_find_projects(org_id=None, name=None, name_mode='exact', ids=None, properties=None, tags=None, describe=False, public=None, created_after=None, created_before=None, region=None, containsPHI=None): """ :param org_id: ID of the organization :type org_id: string :param name: N...
python
def org_find_projects(org_id=None, name=None, name_mode='exact', ids=None, properties=None, tags=None, describe=False, public=None, created_after=None, created_before=None, region=None, containsPHI=None): """ :param org_id: ID of the organization :type org_id: string :param name: N...
[ "def", "org_find_projects", "(", "org_id", "=", "None", ",", "name", "=", "None", ",", "name_mode", "=", "'exact'", ",", "ids", "=", "None", ",", "properties", "=", "None", ",", "tags", "=", "None", ",", "describe", "=", "False", ",", "public", "=", ...
:param org_id: ID of the organization :type org_id: string :param name: Name that each result must have (also see *name_mode* param) :type name: string :param name_mode: Method by which to interpret the *name* param ("exact": exact match, "glob": use "*" and "?" as wildcards, "regexp": interpret...
[ ":", "param", "org_id", ":", "ID", "of", "the", "organization", ":", "type", "org_id", ":", "string", ":", "param", "name", ":", "Name", "that", "each", "result", "must", "have", "(", "also", "see", "*", "name_mode", "*", "param", ")", ":", "type", "...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L788-L865
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
org_find_apps
def org_find_apps(org_id, name=None, name_mode='exact', category=None, all_versions=None, published=None, created_by=None, developer=None, authorized_user=None, ...
python
def org_find_apps(org_id, name=None, name_mode='exact', category=None, all_versions=None, published=None, created_by=None, developer=None, authorized_user=None, ...
[ "def", "org_find_apps", "(", "org_id", ",", "name", "=", "None", ",", "name_mode", "=", "'exact'", ",", "category", "=", "None", ",", "all_versions", "=", "None", ",", "published", "=", "None", ",", "created_by", "=", "None", ",", "developer", "=", "None...
:param name: Name of the app (also see *name_mode*) :type name: string :param name_mode: Method by which to interpret the *name* field "exact": exact match, "glob": use "*" and "?" as wildcards, "regexp": interpret as a regular expression :type name_mode: string :param category: ...
[ ":", "param", "name", ":", "Name", "of", "the", "app", "(", "also", "see", "*", "name_mode", "*", ")", ":", "type", "name", ":", "string", ":", "param", "name_mode", ":", "Method", "by", "which", "to", "interpret", "the", "*", "name", "*", "field", ...
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L868-L985
dnanexus/dx-toolkit
src/python/dxpy/bindings/search.py
find_orgs
def find_orgs(query, first_page_size=10): """ :param query: The input to the /system/findOrgs API method. :type query: dict :param first_page_size: The number of results that the initial /system/findOrgs API call will return; default 10, max 1000. Subsequent calls will raise the number ...
python
def find_orgs(query, first_page_size=10): """ :param query: The input to the /system/findOrgs API method. :type query: dict :param first_page_size: The number of results that the initial /system/findOrgs API call will return; default 10, max 1000. Subsequent calls will raise the number ...
[ "def", "find_orgs", "(", "query", ",", "first_page_size", "=", "10", ")", ":", "return", "_find", "(", "dxpy", ".", "api", ".", "system_find_orgs", ",", "query", ",", "limit", "=", "None", ",", "return_handler", "=", "False", ",", "first_page_size", "=", ...
:param query: The input to the /system/findOrgs API method. :type query: dict :param first_page_size: The number of results that the initial /system/findOrgs API call will return; default 10, max 1000. Subsequent calls will raise the number of returned results exponentially up to a max ...
[ ":", "param", "query", ":", "The", "input", "to", "the", "/", "system", "/", "findOrgs", "API", "method", ".", ":", "type", "query", ":", "dict" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L987-L1004
dnanexus/dx-toolkit
src/python/dxpy/bindings/download_all_inputs.py
_create_dirs
def _create_dirs(idir, dirs): ''' Create a set of directories, so we could store the input files. For example, seq1 could be stored under: /in/seq1/NC_001122.fasta TODO: this call could fail, we need to report a reasonable error code Note that we create a directory for every file array, ev...
python
def _create_dirs(idir, dirs): ''' Create a set of directories, so we could store the input files. For example, seq1 could be stored under: /in/seq1/NC_001122.fasta TODO: this call could fail, we need to report a reasonable error code Note that we create a directory for every file array, ev...
[ "def", "_create_dirs", "(", "idir", ",", "dirs", ")", ":", "# create the <idir> itself", "file_load_utils", ".", "ensure_dir", "(", "idir", ")", "# create each subdir", "for", "d", "in", "dirs", ":", "file_load_utils", ".", "ensure_dir", "(", "os", ".", "path", ...
Create a set of directories, so we could store the input files. For example, seq1 could be stored under: /in/seq1/NC_001122.fasta TODO: this call could fail, we need to report a reasonable error code Note that we create a directory for every file array, even if it has zero inputs.
[ "Create", "a", "set", "of", "directories", "so", "we", "could", "store", "the", "input", "files", ".", "For", "example", "seq1", "could", "be", "stored", "under", ":", "/", "in", "/", "seq1", "/", "NC_001122", ".", "fasta" ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/download_all_inputs.py#L27-L42
dnanexus/dx-toolkit
src/python/dxpy/bindings/download_all_inputs.py
_gen_helper_dict
def _gen_helper_dict(filtered_inputs): ''' Create a dict of values for the downloaded files. This is similar to the variables created when running a bash app. ''' file_key_descs, _ignore = file_load_utils.analyze_bash_vars( file_load_utils.get_input_json_file(), None) flattened_dict = ...
python
def _gen_helper_dict(filtered_inputs): ''' Create a dict of values for the downloaded files. This is similar to the variables created when running a bash app. ''' file_key_descs, _ignore = file_load_utils.analyze_bash_vars( file_load_utils.get_input_json_file(), None) flattened_dict = ...
[ "def", "_gen_helper_dict", "(", "filtered_inputs", ")", ":", "file_key_descs", ",", "_ignore", "=", "file_load_utils", ".", "analyze_bash_vars", "(", "file_load_utils", ".", "get_input_json_file", "(", ")", ",", "None", ")", "flattened_dict", "=", "{", "}", "def",...
Create a dict of values for the downloaded files. This is similar to the variables created when running a bash app.
[ "Create", "a", "dict", "of", "values", "for", "the", "downloaded", "files", ".", "This", "is", "similar", "to", "the", "variables", "created", "when", "running", "a", "bash", "app", "." ]
train
https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/download_all_inputs.py#L82-L105