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

Member predicate ClassObject::hasAttribute

Whether this class has a attribute named name, either declared or inherited.

predicate hasAttribute(string name)