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 d6e6825 commit f1b0a81Copy full SHA for f1b0a81
python/ql/lib/semmle/python/ApiGraphs.qll
@@ -597,11 +597,9 @@ module API {
597
// "benign" and let subclasses edges flow through anyway.
598
// see example in https://github.com/django/django/blob/c2250cfb80e27cdf8d098428824da2800a18cadf/tests/auth_tests/test_views.py#L40-L46
599
(
600
- not exists(clsExpr.getADecorator()) and
601
ref.asExpr() = clsExpr
602
or
603
- ref.asExpr() = clsExpr.getADecoratorCall() and
604
- not exists(PY::Call otherDecorator | otherDecorator.getArg(0) = ref.asExpr())
+ ref.asExpr() = clsExpr.getADecoratorCall()
605
)
606
607
0 commit comments