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

Method get_user_errors

Algorithmia/client.py:199–212  ·  view source on GitHub ↗

Gets the errors for a specific user. Args: self (Client): The instance of the Client class. user_id (str): The identifier for the user. Returns: Any: A JSON-encoded response from the API.

(self, user_id)

Source from the content-addressed store, hash-verified

197 return response.json()
198
199 def get_user_errors(self, user_id):
200 """Gets the errors for a specific user.
201
202 Args:
203 self (Client): The instance of the Client class.
204 user_id (str): The identifier for the user.
205
206 Returns:
207 Any: A JSON-encoded response from the API.
208 """
209
210 url = '/v1/users/%s/errors' % user_id
211 response = self.getHelper(url)
212 return response.json()
213
214 def get_algorithm_errors(self, algorithm_id):
215 """Gets the errors for a specific algorithm.

Callers 1

test_get_user_errorsMethod · 0.80

Calls 1

getHelperMethod · 0.95

Tested by 1

test_get_user_errorsMethod · 0.64