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

Member predicate ClassObject::declaresAttribute

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

predicate declaresAttribute(string name)