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

Method info

Algorithmia/algorithm.py:137–144  ·  view source on GitHub ↗
(self, algo_hash=None)

Source from the content-addressed store, hash-verified

135
136 # Get info on an algorithm
137 def info(self, algo_hash=None):
138 # Get Algorithm
139 if algo_hash:
140 url = '/v1/algorithms/' + self.username + '/' + self.algoname + '/versions/' + algo_hash
141 else:
142 url = '/v1/algorithms/' + self.username + '/' + self.algoname + '/versions'
143 response = self.client.getJsonHelper(url)
144 return response
145
146 # Check if an Algorithm exists
147 def exists(self):

Callers 3

test_algo_infoMethod · 0.80
test_algo_infoMethod · 0.80

Calls 1

getJsonHelperMethod · 0.80

Tested by 3

test_algo_infoMethod · 0.64
test_algo_infoMethod · 0.64