mirror of
https://github.com/github/codeql.git
synced 2026-01-08 20:20:34 +01:00
Python: Add Flask response model
This commit is contained in:
committed by
Rasmus Wriedt Larsen
parent
7b1c6b0dd6
commit
cb1efa915e
@@ -208,6 +208,12 @@ class DjangoHttpResponseFileResponse extends FindSubclassesSpec {
|
||||
}
|
||||
}
|
||||
|
||||
class FlaskResponse extends FindSubclassesSpec {
|
||||
FlaskResponse() { this = "flask.Response~Subclass" }
|
||||
|
||||
override API::Node getAlreadyModeledClass() { result = Flask::Response::classRef() }
|
||||
}
|
||||
|
||||
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