MCPcopy Create free account
hub / github.com/apache/fory / outer_function

Function outer_function

python/pyfory/tests/test_function.py:93–97  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

91 # dict is already registered by default with MapSerializer
92
93 def outer_function(x):
94 def inner_function(y):
95 return x + y
96
97 return inner_function
98
99 # Create a nested function
100 nested_func = outer_function(10)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected