Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
class
TaskCaptureOutput:
Callers
1
wrapper
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected