mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Python: add MultiDict model
This commit is contained in:
committed by
Rasmus Wriedt Larsen
parent
62db8cc633
commit
f1a72311ed
@@ -9,6 +9,7 @@ private import semmle.python.dataflow.new.TaintTracking
|
||||
private import semmle.python.Concepts
|
||||
private import semmle.python.ApiGraphs
|
||||
private import semmle.python.frameworks.internal.InstanceTaintStepsHelper
|
||||
private import semmle.python.frameworks.data.ModelsAsData
|
||||
|
||||
/**
|
||||
* INTERNAL: Do not use.
|
||||
@@ -28,6 +29,8 @@ module Multidict {
|
||||
/** Gets a reference to a `MultiDictProxy` class. */
|
||||
API::Node classRef() {
|
||||
result = API::moduleImport("multidict").getMember(["MultiDictProxy", "CIMultiDictProxy"])
|
||||
or
|
||||
result = ModelOutput::getATypeNode("multidict.MultiDictProxy~Subclass").getASubclass*()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user