We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fa6651 commit 7e7c363Copy full SHA for 7e7c363
python/ql/lib/semmle/python/frameworks/FastApi.qll
@@ -117,7 +117,7 @@ private module FastApi {
117
*/
118
private API::Node getModeledResponseClass(string name) {
119
name = "Response" and
120
- result = API::moduleImport("fastapi").getMember("Response")
+ result = API::moduleImport("fastapi").getMember(name)
121
or
122
// see https://github.com/tiangolo/fastapi/blob/master/fastapi/responses.py
123
name in [
0 commit comments