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

Function _wrap

tests/unit/test_a_sink_rules.py:8–10  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

6
7
8def _wrap(code):
9 ind = "\n".join(" " + l for l in textwrap.dedent(code).splitlines())
10 return f"def _view(request):\n{ind}\n"
11
12
13def run(code, filename="app.py"):

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected