CodeQL library for Python
codeql/python-all 0.12.1 (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.PEP249

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.