Skip to content

Commit c40b3a9

Browse files
yoffRasmusWL
andauthored
Update python/ql/lib/semmle/python/frameworks/Asyncpg.qll
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
1 parent fc9fb59 commit c40b3a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/ql/lib/semmle/python/frameworks/Asyncpg.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ private module Asyncpg {
6969

7070
/**
7171
* Holds if `result` is the result of awaiting `awaitedValue`.
72+
*
73+
* Internal helper predicate to achieve the same as `.awaited()` does for API graphs,
74+
* but sutiable for use with type-tracking.
7275
*/
7376
pragma[inline]
7477
DataFlow::Node awaited(DataFlow::Node awaitedValue) {

0 commit comments

Comments
 (0)