Skip to content

Commit 8ebedf2

Browse files
committed
Python: Add comment for MethodView being known subclass
1 parent a19da54 commit 8ebedf2

File tree

1 file changed

+5
-1
lines changed
  • python/ql/src/semmle/python/frameworks

1 file changed

+5
-1
lines changed

python/ql/src/semmle/python/frameworks/Flask.qll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ module Flask {
2929
result =
3030
API::moduleImport("flask")
3131
.getMember("views")
32-
.getMember(["View", "MethodView"])
32+
.getMember([
33+
"View",
34+
// MethodView is a known subclass
35+
"MethodView"
36+
])
3337
.getASubclass*()
3438
}
3539
}

0 commit comments

Comments
 (0)