Skip to content

Commit ba158f3

Browse files
committed
Python: Use new importNode
1 parent 49d2e68 commit ba158f3

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private module Flask {
4747
/** Gets a reference to the `flask.Flask` class. */
4848
private DataFlow::Node classFlask(DataFlow::TypeTracker t) {
4949
t.start() and
50-
result = DataFlow::importMember("flask", "Flask")
50+
result = DataFlow::importNode("flask.Flask")
5151
or
5252
t.startInAttr("Flask") and
5353
result = flask()

0 commit comments

Comments
 (0)