MCPcopy Index your code
hub / github.com/hugapi/hug / patch

Method patch

hug/routing.py:549–553  ·  view source on GitHub ↗

Sets the acceptable HTTP method to PATCH

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

547 return self.where(accept="TRACE", **overrides)
548
549 def patch(self, urls=None, **overrides):
550 """Sets the acceptable HTTP method to PATCH"""
551 if urls is not None:
552 overrides["urls"] = urls
553 return self.where(accept="PATCH", **overrides)
554
555 def options(self, urls=None, **overrides):
556 """Sets the acceptable HTTP method to OPTIONS"""

Callers

nothing calls this directly

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected