AppThreat/atom

slice generated for requests include requests

prabhu opened this issue · 0 comments

prabhu commented

Could we filter the internal modules from the current folder in the generated modules slice?

Look for argument name - name and packages and add them to the localModuleNames. Sometimes, the name could point to a variable and packages could be a list.

cpg.call("setup").argument.argumentName("packages").where(_.file.name(".*setup.py")).code.toSet