CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Module General

Import path

import semmle.python.web.flask.General

Imports

Predicates

add_url_rule

Holds if urls matching regex are routed to func

app_route

Holds if route is routed to func by decorating func with app.route(route)

flask_routing

Holds if urls matching regex are routed to func using any of flaskā€™s routing mechanisms.

theFlaskClass

Gets the flask app class

theFlaskMethodViewClass

Gets the flask MethodView class

theFlaskReponseClass

Classes