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

Method update

Algorithmia/algorithm.py:97–102  ·  view source on GitHub ↗
(self, details={}, settings={}, version_info={}, source={}, scmsCredentials={})

Source from the content-addressed store, hash-verified

95
96 # Update the settings in an algorithm
97 def update(self, details={}, settings={}, version_info={}, source={}, scmsCredentials={}):
98 url = "/v1/algorithms/" + self.username + "/" + self.algoname
99 update_parameters = {"details": details, "settings": settings,
100 "version_info": version_info, "source": source, "scmsCredentials": scmsCredentials}
101 api_response = self.client.putHelper(url, update_parameters)
102 return api_response
103
104 # Publish an algorithm
105 def publish(self, details={}, settings={}, version_info={}, source={}, scmsCredentials={}):

Callers 4

set_optionsMethod · 0.80
md5_for_fileFunction · 0.80
md5_for_strFunction · 0.80
test_update_algoMethod · 0.80

Calls 1

putHelperMethod · 0.80

Tested by 1

test_update_algoMethod · 0.64