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

Member predicate ClassObject::hasAttribute

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

predicate hasAttribute(string name)