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

Module FastApi::Response

Provides models for the fastapi.Response class and subclasses.

See https://fastapi.tiangolo.com/advanced/custom-response/#response.

Import path

import semmle.python.frameworks.FastApi

Predicates

instance

Gets a reference to an instance of fastapi.Response.

Classes

HeaderSubscriptWrite

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

InstanceSource

A source of instances of fastapi.Response and its’ subclasses, extend this class to model new instances.

RequestHandlerParam

INTERNAL: Do not use.