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

Method getHelper

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

Source from the content-addressed store, hash-verified

269
270 # Used internally to http get a file
271 def getHelper(self, url, **query_parameters):
272 headers = {}
273 if self.apiKey is not None:
274 headers['Authorization'] = self.apiKey
275 elif self.bearerToken is not None:
276 headers['Authorization'] = 'Bearer ' + self.bearerToken
277 return self.requestSession.get(self.apiAddress + url, headers=headers, params=query_parameters)
278
279 def getJsonHelper(self, url, **query_parameters):
280 headers = {}

Callers 15

get_org_typesMethod · 0.95
get_orgMethod · 0.95
get_environmentMethod · 0.95
get_user_errorsMethod · 0.95
getMethod · 0.80
getFileMethod · 0.80
getBytesMethod · 0.80
getStringMethod · 0.80
getJsonMethod · 0.80
getNumpyMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected