MCPcopy Index your code
hub / github.com/algorithmiaio/algorithmia-python / file

Method file

Algorithmia/client.py:78–82  ·  view source on GitHub ↗
(self, dataUrl, cleanup=False)

Source from the content-addressed store, hash-verified

76 return response
77
78 def file(self, dataUrl, cleanup=False):
79 if dataUrl.startswith('file://'):
80 return LocalDataFile(self, dataUrl)
81 else:
82 return AdvancedDataFile(self, dataUrl, cleanup)
83
84 def dir(self, dataUrl):
85 if dataUrl.startswith('file://'):

Callers 15

freezeMethod · 0.95
fileFunction · 0.45
rmMethod · 0.45
lsMethod · 0.45
catMethod · 0.45
cpMethod · 0.45
test_get_nonexistantMethod · 0.45
test_get_strMethod · 0.45
test_putJson_getJsonMethod · 0.45
test_local_remoteMethod · 0.45
test_exists_or_notMethod · 0.45

Calls 2

LocalDataFileClass · 0.90
AdvancedDataFileClass · 0.90

Tested by 12

test_get_nonexistantMethod · 0.36
test_get_strMethod · 0.36
test_putJson_getJsonMethod · 0.36
test_local_remoteMethod · 0.36
test_exists_or_notMethod · 0.36
test_get_nonexistantMethod · 0.36
test_read_typesMethod · 0.36
test_get_nonexistantMethod · 0.36
test_get_strMethod · 0.36
get_filesMethod · 0.36