MCPcopy Create free account
hub / github.com/encoder-run/operator / AddModel

Method AddModel

pkg/graph/schema.resolvers.go:19–21  ·  view source on GitHub ↗

AddModel is the resolver for the addModel field.

(ctx context.Context, input model.AddModelInput)

Source from the content-addressed store, hash-verified

17
18// AddModel is the resolver for the addModel field.
19func (r *mutationResolver) AddModel(ctx context.Context, input model.AddModelInput) (*model.Model, error) {
20 return models.Add(ctx, input)
21}
22
23// AddModelDeployment is the resolver for the addModelDeployment field.
24func (r *mutationResolver) AddModelDeployment(ctx context.Context, input model.AddModelDeploymentInput) (*model.Model, error) {

Callers

nothing calls this directly

Calls 1

AddFunction · 0.92

Tested by

no test coverage detected