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

Method getStreamHelper

Algorithmia/client.py:297–303  ·  view source on GitHub ↗
(self, url, **query_parameters)

Source from the content-addressed store, hash-verified

295 raise raiseAlgoApiError(response)
296
297 def getStreamHelper(self, url, **query_parameters):
298 headers = {}
299 if self.apiKey is not None:
300 headers['Authorization'] = self.apiKey
301 elif self.bearerToken is not None:
302 headers['Authorization'] = 'Bearer ' + self.bearerToken
303 return self.requestSession.get(self.apiAddress + url, headers=headers, params=query_parameters, stream=True)
304
305 def patchHelper(self, url, params):
306 headers = {'content-type': 'application/json'}

Callers 1

get_templateMethod · 0.95

Calls 1

getMethod · 0.80

Tested by

no test coverage detected