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

Method rm

Algorithmia/CLI.py:157–165  ·  view source on GitHub ↗
(self, path, client)

Source from the content-addressed store, hash-verified

155 print(e)
156
157 def rm(self, path, client):
158
159 # for f in path
160 file = client.file(path)
161 try:
162 if file.exists():
163 file.delete()
164 except Algorithmia.errors.DataApiError as e:
165 print(e)
166
167 # algo ls <path>
168 def ls(self, path, client, longlist=False):

Callers 3

mainFunction · 0.80
test_catMethod · 0.80
test_rmMethod · 0.80

Calls 3

fileMethod · 0.45
existsMethod · 0.45
deleteMethod · 0.45

Tested by 2

test_catMethod · 0.64
test_rmMethod · 0.64