Skip to content

Commit e25079a

Browse files
committed
Python: Remove unnecessary cast
1 parent cd5399d commit e25079a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/web/client/Requests.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class RequestsHttpRequest extends Client::HttpRequest {
1212

1313
RequestsHttpRequest() {
1414
method = httpVerbLower() and
15-
func = Module::named("requests").attr(method).(CallableValue) and
15+
func = Module::named("requests").attr(method) and
1616
this = func.getACall()
1717
}
1818

0 commit comments

Comments
 (0)