MCPcopy Create free account
hub / github.com/encode/django-rest-framework / get

Method get

rest_framework/schemas/views.py:29–33  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

27 self.renderer_classes += [renderers.BrowsableAPIRenderer]
28
29 def get(self, request, *args, **kwargs):
30 schema = self.schema_generator.get_schema(request, self.public)
31 if schema is None:
32 raise exceptions.PermissionDenied()
33 return Response(schema)
34
35 def handle_exception(self, exc):
36 # Schema renderers do not render exceptions, so re-perform content

Callers 15

__getitem__Method · 0.45
matchMethod · 0.45
parse_html_listFunction · 0.45
get_relation_kwargsFunction · 0.45
get_unique_error_messageFunction · 0.45
reFunction · 0.45
EeFunction · 0.45
HeFunction · 0.45
oFunction · 0.45
FeFunction · 0.45
aFunction · 0.45

Calls 2

ResponseClass · 0.90
get_schemaMethod · 0.45

Tested by

no test coverage detected