Adding support for reading rich type columns (as implemented by https://github.com/github/codeql/pull/16490): This makes it possible to replace the columns ["requests", "Member[adapters].Member[HTTPAdapter].Instance.Member[add_headers]"] by ["requests.HTTPAdapter", "Member[add_headers]"].
Write rich type columns instead of complex paths. We still retain support for reading non-rich type columns.
Use the kind column that has been added in https://github.com/github/codeql/pull/15655 (the last column returned in the query). This makes it possible to properly handle class methods, which we would otherwise need to detect by the name of the method argument rather than just receiving this information from the query.
For more information about the format of Python MaD, see the documentation.
This makes changes to the Python model editor parsing code to incorporate the query changes from https://github.com/github/codeql/pull/15655. These changes consist of:
["requests", "Member[adapters].Member[HTTPAdapter].Instance.Member[add_headers]"]
by["requests.HTTPAdapter", "Member[add_headers]"]
.kind
column that has been added in https://github.com/github/codeql/pull/15655 (the last column returned in the query). This makes it possible to properly handle class methods, which we would otherwise need to detect by the name of the method argument rather than just receiving this information from the query.For more information about the format of Python MaD, see the documentation.