(self, request, tenant_id, queue_name)
return json.dumps(response_body)
Api call to create and save queue. HTTP status code of 201.
Api call to create and save queue. HTTP status code of 201.
Api call to create and save queue . HTTP status code of 201 .
def create_queue(self, request, tenant_id, queue_name):
        """
        Api call to create and save queue. HTTP status code of 201.
        """
        q_collection = self._queue_collection(tenant_id)
        (response_body, response_code) = q_collection.add_queue(queue_name)
        request.setResponseCode(response_code)
        return json.dumps(response_body)
def create_queue ( self , request , tenant_id , queue_name ) : q_collection = self . _queue_collection ( tenant_id ) ( response_body , response_code ) = q_collection . add_queue ( queue_name ) request . setResponseCode ( response_code ) return json . dumps ( response_body )