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)
| 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. |