mirror of
https://github.com/github/codeql.git
synced 2026-03-29 11:48:16 +02: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"])
|