def method_not_allowed(req, resp, **kwargs): """Raise 405 HTTPMethodNotAllowed error""" raise HTTPMethodNotAllowed(allowed_methods)
def method_not_allowed(req, resp, **kwargs): raise HTTPMethodNotAllowed(allowed_methods)
async def method_not_allowed_responder_async(req, resp, **kwargs): raise HTTPMethodNotAllowed(allowed_methods)
def retrieve(self, params, meta, **kwargs): """Not Implemented""" raise HTTPMethodNotAllowed(self.allowed_methods())
def create_bulk(self, params, meta, **kwargs): """Not Implemented""" raise HTTPMethodNotAllowed(self.allowed_methods())
def update(self, params, meta, **kwargs): # consumers = kwargs['validated']['consumer_id'] # # todo : Bulk attaching consumers. """Not Implemented""" raise HTTPMethodNotAllowed(self.allowed_methods())