Python: Fix DefaultTextClauseConstruction

This commit is contained in:
Rasmus Wriedt Larsen
2021-09-02 16:03:25 +02:00
parent 88c6d4bb20
commit 414bf12f86

View File

@@ -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