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

Member predicate ClassObject::declaresAttribute

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

predicate declaresAttribute(string name)