MCPcopy
hub / github.com/arduino/Arduino / patch

Function patch

arduino-core/src/processing/app/i18n/python/requests/api.py:102–110  ·  view source on GitHub ↗

Sends a PATCH request. Returns :class:`Response` object. :param url: URL for the new :class:`Request` object. :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`. :param \*\*kwargs: Optional arguments that ``request`` takes.

(url, data=None, **kwargs)

Source from the content-addressed store, hash-verified

100
101
102def patch(url, data=None, **kwargs):
103 """Sends a PATCH request. Returns :class:`Response` object.
104
105 :param url: URL for the new :class:`Request` object.
106 :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
107 :param \*\*kwargs: Optional arguments that ``request`` takes.
108 """
109
110 return request('patch', url, data=data, **kwargs)
111
112
113def delete(url, **kwargs):

Callers

nothing calls this directly

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected