MCPcopy Index your code
hub / github.com/encode/django-rest-framework / patch

Method patch

rest_framework/test.py:203–205  ·  view source on GitHub ↗
(self, path, data=None, format=None, content_type=None, **extra)

Source from the content-addressed store, hash-verified

201 return self.generic('PUT', path, data, content_type, **extra)
202
203 def patch(self, path, data=None, format=None, content_type=None, **extra):
204 data, content_type = self._encode_data(data, format, content_type)
205 return self.generic('PATCH', path, data, content_type, **extra)
206
207 def delete(self, path, data=None, format=None, content_type=None, **extra):
208 data, content_type = self._encode_data(data, format, content_type)

Callers

nothing calls this directly

Calls 2

_encode_dataMethod · 0.95
genericMethod · 0.95

Tested by

no test coverage detected