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

Module SelfAttribute

Utilities to support queries about instance attribute accesses of the form self.attr.

Import path

import semmle.python.SelfAttribute

Imports

Predicates

Classes

SelfAttribute

An attribute access where the left hand side of the attribute expression is self.

SelfAttributeRead

A helper class for UndefinedClassAttribute.ql & MaybeUndefinedClassAttribute.ql

SelfAttributeStore