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

Function getStreamPickle

pythonwhat/tasks.py:232–236  ·  view source on GitHub ↗
(name, process, shell)

Source from the content-addressed store, hash-verified

230
231@process_task
232def getStreamPickle(name, process, shell):
233 try:
234 return pickle.dumps(get_env(shell.user_ns)[name])
235 except:
236 return None
237
238
239@process_task

Callers 1

getRepresentationFunction · 0.85

Calls 1

get_envFunction · 0.85

Tested by

no test coverage detected