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

Member predicate ClassObject::hasAttribute

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

predicate hasAttribute(string name)