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

Module AiohttpWebModel::AiohttpRouteSetup

Provides a class for modeling new aiohttp.web route setups.

Import path

import semmle.python.frameworks.Aiohttp

Predicates

getBackTrackedViewClass
viewClassBackTracker

Gets a reference to a class, that has been backtracked from the view-class handler argument origin (to a route-setup for view-classes).

Classes

Range

A route setup in aiohttp.web. Since all route-setups can technically use either coroutines or view-classes as the handler argument (although that’s not how you’re supposed to do things), we also need to handle this.