CodeQL library for Python
codeql/python-all 0.12.0 (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()