MCPcopy
hub / github.com/authlib/authlib / patch

Method patch

authlib/integrations/base_client/sync_app.py:40–47  ·  view source on GitHub ↗

Invoke PATCH http request. If ``api_base_url`` configured, shortcut is available:: client.patch("profile", json={"name": "Hsiaoming Yang"})

(self, url, **kwargs)

Source from the content-addressed store, hash-verified

38 return self.request("POST", url, **kwargs)
39
40 def patch(self, url, **kwargs):
41 """Invoke PATCH http request.
42
43 If ``api_base_url`` configured, shortcut is available::
44
45 client.patch("profile", json={"name": "Hsiaoming Yang"})
46 """
47 return self.request("PATCH", url, **kwargs)
48
49 def put(self, url, **kwargs):
50 """Invoke PUT http request.

Calls 1

requestMethod · 0.95