Skip to content

Commit 937af90

Browse files
RasmusWLtausbn
andcommitted
Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent 0fe29b6 commit 937af90

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* Captured subclass relationships ahead-of-time for most popular PyPI packages so we are able to resolve subclass relation ships even without having the packages installed. For example we have captured that `flask_restful.Resource` is a subclass of `flask.views.MethodView`, so our Flask modeling will still consider a function named `post` on a `class Foo(flask_restful.Resource):` as a HTTP request handler.
4+
* Captured subclass relationships ahead-of-time for most popular PyPI packages so we are able to resolve subclass relationships even without having the packages installed. For example we have captured that `flask_restful.Resource` is a subclass of `flask.views.MethodView`, so our Flask modeling will still consider a function named `post` on a `class Foo(flask_restful.Resource):` as a HTTP request handler.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ private import semmle.python.frameworks.Starlette
1414
private import semmle.python.frameworks.data.ModelsAsData
1515

1616
/**
17+
* INTERNAL: Do not use.
18+
*
1719
* Provides models for the `fastapi` PyPI package.
1820
* See https://fastapi.tiangolo.com/.
1921
*/

0 commit comments

Comments
 (0)