Skip to content

Commit

Permalink
add necessary pass dependencies for flask pass (fixes U3Python)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingDepot committed Sep 7, 2023
1 parent 8f41e67 commit bb94f57
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import de.fraunhofer.aisec.cpg.graph.Node
import de.fraunhofer.aisec.cpg.graph.statements.expressions.CallExpression
import de.fraunhofer.aisec.cpg.graph.statements.expressions.MemberCallExpression
import de.fraunhofer.aisec.cpg.graph.statements.expressions.MemberExpression
import de.fraunhofer.aisec.cpg.passes.CallResolver
import de.fraunhofer.aisec.cpg.passes.VariableUsageResolver
import de.fraunhofer.aisec.cpg.passes.order.DependsOn
import de.fraunhofer.aisec.cpg.processing.IVisitor
import de.fraunhofer.aisec.cpg.processing.strategy.Strategy
import io.clouditor.graph.*
Expand All @@ -14,6 +17,8 @@ import io.clouditor.graph.passes.DatabaseOperationPass
import java.net.URI

@Suppress("UNUSED_PARAMETER")
@DependsOn(CallResolver::class)
@DependsOn(VariableUsageResolver::class)
class PyMongoPass(ctx: TranslationContext) : DatabaseOperationPass(ctx) {

val clients: MutableMap<Node, DatabaseConnect> = mutableMapOf()
Expand Down

0 comments on commit bb94f57

Please sign in to comment.