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

Module PEP249::Connection

Provides models for database connections (following PEP 249).

See https://www.python.org/dev/peps/pep-0249/#connection-objects.

Import path

import semmle.python.frameworks.internal.PEP249Impl

Predicates

instance

Gets a reference to a database connection (following PEP 249).

Classes

InstanceSource

A source of database connections (following PEP 249), extend this class to model new instances.