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

Member predicate ClassValue::declaresAttribute

Holds if this class declares the attribute name, not including attributes declared by super classes.

predicate declaresAttribute(string name)