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

Member predicate ClassObject::hasAttribute

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

predicate hasAttribute(string name)