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

Member predicate ClassObject::declaresAttribute

Returns an attribute declared on this class (not on a super-class)

predicate declaresAttribute(string name)