MCPcopy Create free account
hub / github.com/dagger/dagger / SetArgInput

Method SetArgInput

dagql/call_request.go:83–93  ·  view source on GitHub ↗
(ctx context.Context, name string, input Input, sensitive bool)

Source from the content-addressed store, hash-verified

81}
82
83func (req *CallRequest) SetArgInput(ctx context.Context, name string, input Input, sensitive bool) error {
84 if req == nil {
85 return nil
86 }
87 arg, err := resultCallArgFromInput(ctx, name, input, sensitive)
88 if err != nil {
89 return err
90 }
91 req.SetArg(arg)
92 return nil
93}

Calls 2

SetArgMethod · 0.95
resultCallArgFromInputFunction · 0.85