The zaqar.common.api.request module

class Request(action, body=None, headers=None, api=None)

Bases: object

General data for a Zaqar request

Transport will generate a request object and send to this the API to be processed. :param action: Action to identify the API call being processed, i.e: ‘get_queues’, ‘get_messages’ :type action: str :param body: Request’s body. Default: None :type body: str :param headers: Request headers. Default: None :type headers: dict :param api: Api entry point. i.e: ‘queues.v1’ :type api: six.text_type.

deserialized_content
get_request()

Previous topic

The zaqar.common.api.errors module

Next topic

The zaqar.common.api.response module

Project Source

This Page