MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / executeTask

Method executeTask

pythonwhat/local.py:34–35  ·  view source on GitHub ↗
(self, task)

Source from the content-addressed store, hash-verified

32 self._identity = (pid,) if pid else (random.randint(0, int(1e12)),)
33
34 def executeTask(self, task):
35 return task(self.shell)
36
37
38class TaskCaptureOutput:

Callers 1

wrapperFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected