File tree Expand file tree Collapse file tree
python/ql/src/meta/ClassHierarchy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ private import semmle.python.frameworks.FastApi
1313private import semmle.python.frameworks.Django
1414import semmle.python.frameworks.data.internal.ApiGraphModelsExtensions as Extensions
1515
16- // FIXME: I think the implementation below for `getAlreadyModeledClass` is wrong, since
17- // it uses `.getASubclass*()` for flask/fastAPI (and initially also Django, I just fixed
18- // it for django while discovering this problem). Basically, I fear that it if library
19- // defines class A and B, where B is a subclass of A, the automated modeling might only
20- // find B...
21- //
22- // I doesn't seem to be the case, which is probably why I didn't discover this, but on
23- // top of my head I can't really tell why.
2416class FlaskViewClasses extends FindSubclassesSpec {
2517 FlaskViewClasses ( ) { this = "flask.View~Subclass" }
2618
You can’t perform that action at this time.
0 commit comments