Module General

Import path

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

The flask app class

theFlaskMethodViewClass

The flask MethodView class

theFlaskModule

The flask module

theFlaskReponseClass