diff --git a/python/ql/lib/semmle/python/frameworks/SqlAlchemy.qll b/python/ql/lib/semmle/python/frameworks/SqlAlchemy.qll index fa3da97bf29..879456e4700 100644 --- a/python/ql/lib/semmle/python/frameworks/SqlAlchemy.qll +++ b/python/ql/lib/semmle/python/frameworks/SqlAlchemy.qll @@ -319,7 +319,8 @@ module SqlAlchemy { DataFlow::Node getTextArg() { result in [this.getArg(0), this.getArgByName("text")] } } - class DefaultTextClauseConstruction extends TextClauseConstruction { + /** `TextClause` constructions from the `sqlalchemy` package. */ + private class DefaultTextClauseConstruction extends TextClauseConstruction { DefaultTextClauseConstruction() { this = API::moduleImport("sqlalchemy").getMember("text").getACall() or