Method
withStringInput
(ctx context.Context, env *core.Env, args struct {
Name string
Value string
Description string
})
Source from the content-addressed store, hash-verified
| 313 | } |
| 314 | |
| 315 | func (s environmentSchema) withStringInput(ctx context.Context, env *core.Env, args struct { |
| 316 | Name string |
| 317 | Value string |
| 318 | Description string |
| 319 | }) (*core.Env, error) { |
| 320 | str := dagql.NewString(args.Value) |
| 321 | return env.WithInput(args.Name, str, args.Description), nil |
| 322 | } |
| 323 | |
| 324 | func (s environmentSchema) withStringOutput(ctx context.Context, env *core.Env, args struct { |
| 325 | Name string |
Tested by
no test coverage detected