Extract Flows as Lambdas

../../../_images/extract_one_to_one.svg

Extract top level Flows as Lambda functions matching datatype in flows.

Lambda functions will change its type to reflect the choosen datatype as long as it is a non-generic function type and can be matched against connected nodes. Datatypes configured that fail to satisfy the above are simply be ignored.

Input ports:
Filenames:

[datasource]

Flow filenames containing Lambdas

Output ports:
Functions:

[() -> ()]

Lambda functions

Configuration:
Datatype (datatype)
Non-generic datatype to match against lambda functions in input
Strategy for handling extraction issues (fail_strategy)
How should the node handle the situation when the extract fails?
class node_lambda.ExtractFlowsLambdas[source]

Example flows