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

Method get_organization_errors

Algorithmia/client.py:184–197  ·  view source on GitHub ↗

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

(self, org_name)

Source from the content-addressed store, hash-verified

182 return api_response
183
184 def get_organization_errors(self, org_name):
185 """Gets the errors for the organization.
186
187 Args:
188 self (Client): The instance of the Client class.
189 org_name (str): The identifier for the organization.
190
191 Returns:
192 Any: A JSON-encoded response from the API.
193 """
194
195 url = '/v1/organizations/%s/errors' % org_name
196 response = self.getHelper(url)
197 return response.json()
198
199 def get_user_errors(self, user_id):
200 """Gets the errors for a specific user.

Callers 1

Calls 1

getHelperMethod · 0.95

Tested by 1