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

Module Flask

Provides models for the flask PyPI package. See https://flask.palletsprojects.com/en/1.1.x/.

Import path

import semmle.python.frameworks.Flask

Predicates

request

Gets a reference to the flask.request object.

Classes

FlaskMethodViewClass

A class that is a subclass of the flask.views.MethodView class. thereby being able to handle incoming HTTP requests.

FlaskResponseDeleteCookieCall

A call to delete_cookie on a Flask HTTP Response.

FlaskResponseSetCookieCall

A call to set_cookie on a Flask HTTP Response.

FlaskRouteSetup

A route setup made by flask (sharing handling of URL patterns).

FlaskViewClass

A class that is a subclass of the flask.views.View class, thereby being able to handle incoming HTTP requests.

Modules

Blueprint

Provides models for flask blueprints (instances of the flask.Blueprint class).

FlaskApp

Provides models for flask applications (instances of the flask.Flask class).

Response

Provides models for the flask.Response class

Views

Provides models for flask view classes (defined in the flask.views module)