MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / Outputs

Method Outputs

go/engine/node/functioncall.go:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59func (n *FunctionCall) Outputs() map[string]workflowapi.DataType {
60 raw := make(map[string]workflowapi.DataType, len(n.fn.Info.Returns))
61 for _, ret := range n.fn.Info.Returns {
62 raw[ret.Uid] = ret.DataType
63 }
64 return engine.FilterEmitted(raw, n.outputBindings)
65}
66
67func (n *FunctionCall) Execute(ctx context.Context, scope *engine.Scope) (string, error) {
68 args := make(map[string]expr.Value, len(n.fn.Info.Arguments))
69 for _, arg := range n.fn.Info.Arguments {

Callers 1

TestFunctionCall_OutputsFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestFunctionCall_OutputsFunction · 0.76