MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / my_small_function

Method my_small_function

tests/cloudpickle_test.py:748–749  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

746 return math.exp(x)
747
748 def my_small_function(x, y):
749 return nested_function(x) + y
750
751 b = cloudpickle.dumps(my_small_function, protocol=self.protocol)
752

Callers

nothing calls this directly

Calls 1

nested_functionFunction · 0.85

Tested by

no test coverage detected