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

Method set_options

Algorithmia/algorithm.py:35–39  ·  view source on GitHub ↗
(self, timeout=300, stdout=False, output=OutputType.default, **query_parameters)

Source from the content-addressed store, hash-verified

33 raise ValueError('Invalid algorithm URI: ' + algoRef)
34
35 def set_options(self, timeout=300, stdout=False, output=OutputType.default, **query_parameters):
36 self.query_parameters = {'timeout': timeout, 'stdout': stdout}
37 self.output_type = output
38 self.query_parameters.update(query_parameters)
39 return self
40
41 def get_algorithm_id(self):
42 url = '/v1/algorithms/' + self.username + '/' + self.algoname

Callers 7

runalgoMethod · 0.80
test_async_callMethod · 0.80
test_raw_callMethod · 0.80
test_async_callMethod · 0.80
test_raw_callMethod · 0.80
test_async_callMethod · 0.80
test_raw_callMethod · 0.80

Calls 1

updateMethod · 0.80

Tested by 6

test_async_callMethod · 0.64
test_raw_callMethod · 0.64
test_async_callMethod · 0.64
test_raw_callMethod · 0.64
test_async_callMethod · 0.64
test_raw_callMethod · 0.64