Skip to content

Commit 2ba7ed4

Browse files
committed
Python: Add note about future work for getARequestHandler
1 parent 7d94bab commit 2ba7ed4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

python/ql/src/semmle/python/Concepts.qll

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,11 @@ module HTTP {
313313
/** Gets the URL pattern for this route, if it can be statically determined. */
314314
string getUrlPattern() { result = range.getUrlPattern() }
315315

316-
/** Gets a function that will handle incoming requests for this route, if any. */
316+
/**
317+
* Gets a function that will handle incoming requests for this route, if any.
318+
*
319+
* NOTE: This will be modified in the near future to have a `RequestHandler` result, instead of a `Function`.
320+
*/
317321
Function getARequestHandler() { result = range.getARequestHandler() }
318322

319323
/**
@@ -343,7 +347,11 @@ module HTTP {
343347
)
344348
}
345349

346-
/** Gets a function that will handle incoming requests for this route, if any. */
350+
/**
351+
* Gets a function that will handle incoming requests for this route, if any.
352+
*
353+
* NOTE: This will be modified in the near future to have a `RequestHandler` result, instead of a `Function`.
354+
*/
347355
abstract Function getARequestHandler();
348356

349357
/**

0 commit comments

Comments
 (0)