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

Method get_secrets

Algorithmia/algorithm.py:51–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49
50
51 def get_secrets(self):
52 algorithm_id = self.get_algorithm_id()
53 url = "/v1/algorithms/" + algorithm_id + "/secrets"
54 api_response = self.client.getJsonHelper(url)
55 return api_response
56
57
58 def set_secret(self, short_name, secret_key, secret_value, description=None):

Callers

nothing calls this directly

Calls 2

get_algorithm_idMethod · 0.95
getJsonHelperMethod · 0.80

Tested by

no test coverage detected