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

Method exists

Algorithmia/datafile.py:238–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

236 return json.loads(open(self.path, 'r').read())
237
238 def exists(self):
239 return self.existsWithError()[0]
240
241 def existsWithError(self):
242 return os.path.isfile(self.path), ''

Callers

nothing calls this directly

Calls 1

existsWithErrorMethod · 0.95

Tested by

no test coverage detected