Skip to content

← deprecated package

Call

Call/apply a function with some arguments.

This node is deprecated; use the "Function Call" (FunctionCall) node instead, which uses 1-based arguments. This will invoke a function that is declared elsewhere using the Function node and return the result. The arguments apply in the order in which they are listed in the function's graph [signature] parameter. Instead of a function name, this node can also accept a graph to evaluate. Besides positional arguments, Call can also bind named placeholders before evaluating the graph. Note though that placeholders that are bound by any lambda in the contained graph cannot be assigned by name, i.e., only free placeholders can be assigned this way. More Info... Version 1.0.0

Ports/Properties

function

Function object to call.

verbose name
Function
default value
None
port type
GraphPort
value type
Graph (can be None)

funcname

Function name to call.

verbose name
Funcname
default value
port type
StringPort
value type
str (can be None)

funchandle

Optionally a Python function handle to call.

verbose name
Funchandle
default value
None
port type
Port
value type
object (can be None)

as_python

If set to unsafe, the funcname will be interpreted as a Python function name or in-place defined lambda expression. In this case, BE SURE to never pass untrusted inputs into the funcname argument.

verbose name
As Python
default value
no
port type
EnumPort
value type
str (can be None)

stateful

Persist graph's state across calls. If this is unset, the call behaves like a regular function call such that the graph's state is reset on every call. If set, the call behaves statefully, that is, any stateful nodes in the called graph (e.g., filters) will retain their state across calls. Thus, the call behaves as if the graph was materialized at the call size. Different call sites to the same graph still have independent state (i.e., different calls are different materializations).

verbose name
Stateful
default value
False
port type
BoolPort
value type
bool (can be None)

arg0

Argument 0.

verbose name
Arg0
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg1

Argument 1.

verbose name
Arg1
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg2

Argument 2.

verbose name
Arg2
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg3

Argument 3.

verbose name
Arg3
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg4

Argument 4.

verbose name
Arg4
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg5

Argument 5.

verbose name
Arg5
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg6

Argument 6.

verbose name
Arg6
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg7

Argument 7.

verbose name
Arg7
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg8

Argument 8.

verbose name
Arg8
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

arg9

Argument 9.

verbose name
Arg9
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

argN

Additional arguments.. .

verbose name
Argn
default value
None
port type
DataPort
value type
list (can be None)
data direction
IN

name0

Name 0.

verbose name
Name0
default value
None
port type
StringPort
value type
str (can be None)

val0

Value 0.

verbose name
Val0
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name1

Name 1.

verbose name
Name1
default value
None
port type
StringPort
value type
str (can be None)

val1

Value 1.

verbose name
Val1
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name2

Name 2.

verbose name
Name2
default value
None
port type
StringPort
value type
str (can be None)

val2

Value 2.

verbose name
Val2
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name3

Name 3.

verbose name
Name3
default value
None
port type
StringPort
value type
str (can be None)

val3

Value 3.

verbose name
Val3
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name4

Name 4.

verbose name
Name4
default value
None
port type
StringPort
value type
str (can be None)

val4

Value 4.

verbose name
Val4
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name5

Name 5.

verbose name
Name5
default value
None
port type
StringPort
value type
str (can be None)

val5

Value 5.

verbose name
Val5
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name6

Name 6.

verbose name
Name6
default value
None
port type
StringPort
value type
str (can be None)

val6

Value 6.

verbose name
Val6
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name7

Name 7.

verbose name
Name7
default value
None
port type
StringPort
value type
str (can be None)

val7

Value 7.

verbose name
Val7
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name8

Name 8.

verbose name
Name8
default value
None
port type
StringPort
value type
str (can be None)

val8

Value 8.

verbose name
Val8
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

name9

Name 9.

verbose name
Name9
default value
None
port type
StringPort
value type
str (can be None)

val9

Value 9.

verbose name
Val9
default value
None
port type
DataPort
value type
object (can be None)
data direction
IN

nameN

Additional argument names.. .

verbose name
Namen
default value
None
port type
ListPort
value type
list (can be None)

valN

Additional named argument values.. .

verbose name
Valn
default value
None
port type
DataPort
value type
list (can be None)
data direction
IN

argdict

Additional keyword arguments.. .

verbose name
Argdict
default value
None
port type
DictPort
value type
dict (can be None)

result

Result of function call.

verbose name
Result
default value
None
port type
DataPort
value type
object (can be None)
data direction
OUT

snapshot

Snapshot of function graph after call.

verbose name
Snapshot
default value
None
port type
GraphPort
value type
Graph

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)