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

Member predicate ClassObject::declaresAttribute

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

predicate declaresAttribute(string name)