Skip to content

Commit 414bf12

Browse files
committed
Python: Fix DefaultTextClauseConstruction
1 parent 88c6d4b commit 414bf12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/ql/lib/semmle/python/frameworks/SqlAlchemy.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ module SqlAlchemy {
319319
DataFlow::Node getTextArg() { result in [this.getArg(0), this.getArgByName("text")] }
320320
}
321321

322-
class DefaultTextClauseConstruction extends TextClauseConstruction {
322+
/** `TextClause` constructions from the `sqlalchemy` package. */
323+
private class DefaultTextClauseConstruction extends TextClauseConstruction {
323324
DefaultTextClauseConstruction() {
324325
this = API::moduleImport("sqlalchemy").getMember("text").getACall()
325326
or

0 commit comments

Comments
 (0)