MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / _wrap

Function _wrap

tests/unit/test_semantic_provenance.py:31–34  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

29
30
31def _wrap(code):
32 import textwrap
33 ind = "\n".join(" " + l for l in textwrap.dedent(code).strip().splitlines())
34 return f"def view(request):\n{ind}\n"
35
36
37def taint_fires(code, rule_id):

Callers 2

taint_firesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected