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

Member predicate AttrRef::getAttributeName

Gets the name of the attribute being read or written. For dynamic attribute accesses, this method is not guaranteed to return a result. For such cases, using mayHaveAttributeName may yield better results.

string getAttributeName()