mirror of
https://github.com/github/codeql.git
synced 2026-02-19 00:13:44 +01:00
Python: Enable auto-model BaseHttpRequestHandler
This commit is contained in:
@@ -75,6 +75,14 @@ class WSGIServer extends FindSubclassesSpec {
|
||||
}
|
||||
}
|
||||
|
||||
class StdlibBaseHttpRequestHandler extends FindSubclassesSpec {
|
||||
StdlibBaseHttpRequestHandler() { this = "http.server.BaseHTTPRequestHandler~Subclass" }
|
||||
|
||||
override API::Node getAlreadyModeledClass() {
|
||||
result = StdlibPrivate::BaseHttpRequestHandler::subclassRef()
|
||||
}
|
||||
}
|
||||
|
||||
bindingset[fullyQualified]
|
||||
predicate fullyQualifiedToYamlFormat(string fullyQualified, string type2, string path) {
|
||||
exists(int firstDot | firstDot = fullyQualified.indexOf(".", 0, 0) |
|
||||
|
||||
Reference in New Issue
Block a user