The mistralclient.api.base Module

exception mistralclient.api.base.APIException(error_code=None, error_message=None)

Bases: exceptions.Exception

class mistralclient.api.base.Resource(manager, data)

Bases: object

defaults = {}
resource_name = 'Something'
to_dict()
class mistralclient.api.base.ResourceManager(http_client)

Bases: object

find(**kwargs)
resource_class = None
mistralclient.api.base.extract_json(response, response_key)
mistralclient.api.base.get_json(response)

Gets JSON representation of response.

This method provided backward compatibility with old versions of requests library.