Files
codeql/python/ql/lib/change-notes/2024-11-26-parameter-annotation-api-graph-support.md
2025-01-07 12:14:27 -05:00

353 B

category
category
feature
  • Added support for parameter annotations in API graphs. This means that in a function definition such as def foo(x: Bar): ..., you can now use the getInstanceFromAnnotation() method to step from Bar to x. In addition to this, the getAnInstance method now also includes instances arising from parameter annotations.