MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / delete

Method delete

21-async/mojifinder/bottle.py:836–838  ·  view source on GitHub ↗

Equals :meth:`route` with a ``DELETE`` method parameter.

(self, path=None, method='DELETE', **options)

Source from the content-addressed store, hash-verified

834 return self.route(path, method, **options)
835
836 def delete(self, path=None, method='DELETE', **options):
837 """ Equals :meth:`route` with a ``DELETE`` method parameter. """
838 return self.route(path, method, **options)
839
840 def error(self, code=500):
841 """ Decorator: Register an output handler for a HTTP error code"""

Callers

nothing calls this directly

Calls 1

routeMethod · 0.95

Tested by

no test coverage detected