executorlib.standalone.interactive.backend.call_funct

Contents

executorlib.standalone.interactive.backend.call_funct#

executorlib.standalone.interactive.backend.call_funct(input_dict: dict, funct: Callable | None = None, memory: dict | None = None) Any[source]#

Call function from dictionary

Parameters:
  • input_dict (dict) – dictionary containing the function ‘fn’, its arguments ‘args’ and keyword arguments ‘kwargs’

  • funct (Callable, optional) – function to be evaluated if it is not included in the input dictionary

  • memory (dict, optional) – variables stored in memory which can be used as keyword arguments

Returns:

Result of the function

Return type:

Any