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

Module AiohttpWebModel

INTERNAL: Do not use.

Provides models for the web server part (aiohttp.web) of the aiohttp PyPI package. See https://docs.aiohttp.org/en/stable/web.html

Import path

import semmle.python.frameworks.Aiohttp

Predicates

applicationInstance

Gets a reference to an aiohttp.web.Application instance.

urlDispatcherInstance

Gets a reference to an aiohttp.web.UrlDispatcher instance.

Classes

AiohttpAddRouteCall

A route-setup from - add_route, add_view, add_get, add_post, , etc. on an aiohttp.web.UrlDispatcher. - route, view, get, post, etc. functions from aiohttp.web.

AiohttpCoroutineRouteSetup

An aiohttp route setup that uses coroutines (async function) as request handlers.

AiohttpDecoratorRouteSetup

A route-setup using a decorator, such as route, view, get, post, etc. on an aiohttp.web.RouteTableDef.

AiohttpRedirectExceptionInstantiation

An instantiation of aiohttp.web HTTP redirect exception.

AiohttpRequestHandlerRequestParam

A parameter that will receive an aiohttp.web.Request instance when a request handler is invoked.

AiohttpResponseCookieSubscriptWrite

A dict-like write to an item of the cookies attribute on a HTTP response, such as response.cookies[name] = value.

AiohttpResponseDelCookieCall

A call to del_cookie on a HTTP Response.

AiohttpResponseSetCookieCall

A call to set_cookie on a HTTP Response.

AiohttpRouteSetup

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.

AiohttpViewClass

A class that we consider an aiohttp.web View class.

AiohttpViewClassFromRouteSetup

A class that is used in a route-setup, therefore being considered an aiohttp.web View class.

AiohttpViewClassFromSuperClass

A class that has a super-type which is an aiohttp.web View class.

AiohttpViewClassRequestAttributeRead

A read of the request attribute on an instance of an aiohttp.web View class, which is the request being processed currently.

AiohttpViewRouteSetup

An aiohttp route setup that uses view-classes as request handlers.

AiohttpWebResponseInstantiation

An instantiation of aiohttp.web.Response.

Modules

Request

Provides models for the aiohttp.web.Request class

Response

Provides models for the aiohttp.web.Response class

StreamReader

Provides models for the aiohttp.StreamReader class

View

Provides models for the aiohttp.web.View class and subclasses.