Skip to content

Commit

Permalink
Merge pull request #1245 from Privado-Inc/useDMFNPython
Browse files Browse the repository at this point in the history
consider MFN and DTHFN for python API's
  • Loading branch information
khemrajrathore authored Aug 8, 2024
2 parents 56febc6 + a5d9799 commit 6aed980
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ class PythonAPITagger(
sinkTagger(
cpg,
apiInternalSources ++ propertySources ++ identifierSource,
apis.methodFullName(commonHttpPackages).l,
apis
.or(
_.methodFullName(commonHttpPackages),
_.filter(_.dynamicTypeHintFullName.exists(_.matches(commonHttpPackages)))
)
.l,
builder,
ruleInfo,
ruleCache,
Expand Down

0 comments on commit 6aed980

Please sign in to comment.