We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7384da commit 3ab5fd5Copy full SHA for 3ab5fd5
python/ql/lib/semmle/python/frameworks/RestFramework.qll
@@ -194,6 +194,9 @@ private module RestFramework {
194
exists(RestFrameworkApiViewClass vc |
195
this.getParameter() =
196
vc.getARequestHandler().(PrivateDjango::DjangoRouteHandler).getRequestParam()
197
+ or
198
+ // retrieve(self, request, **kwargs)
199
+ this.getParameter() = vc.getARequestHandler().(PrivateDjango::DjangoRouteHandler).getKwarg()
200
)
201
or
202
// annotated with @api_view decorator
0 commit comments