mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
We were using `getMember` for dictionaries, these are now getIndex Also add convenience predicate for string keys
5 lines
145 B
Plaintext
5 lines
145 B
Plaintext
import python
|
|
import semmle.python.ApiGraphs
|
|
|
|
select API::moduleImport("mypkg").getMember("foo").getReturn().getSubscript(["bar", "baz", "qux"])
|