MCPcopy
hub / github.com/fluentpython/example-code-2e / put

Method put

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

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

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

Source from the content-addressed store, hash-verified

830 return self.route(path, method, **options)
831
832 def put(self, path=None, method='PUT', **options):
833 """ Equals :meth:`route` with a ``PUT`` method parameter. """
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. """

Callers

nothing calls this directly

Calls 1

routeMethod · 0.95

Tested by

no test coverage detected