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

Method Complexity

pkg/graph/generated.go:198–785  ·  view source on GitHub ↗
(typeName, field string, childComplexity int, rawArgs map[string]interface{})

Source from the content-addressed store, hash-verified

196}
197
198func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
199 ec := executionContext{nil, e, 0, 0, nil}
200 _ = ec
201 switch typeName + "." + field {
202
203 case "HuggingFace.maxSequenceLength":
204 if e.complexity.HuggingFace.MaxSequenceLength == nil {
205 break
206 }
207
208 return e.complexity.HuggingFace.MaxSequenceLength(childComplexity), true
209
210 case "HuggingFace.name":
211 if e.complexity.HuggingFace.Name == nil {
212 break
213 }
214
215 return e.complexity.HuggingFace.Name(childComplexity), true
216
217 case "HuggingFace.organization":
218 if e.complexity.HuggingFace.Organization == nil {
219 break
220 }
221
222 return e.complexity.HuggingFace.Organization(childComplexity), true
223
224 case "Model.deployment":
225 if e.complexity.Model.Deployment == nil {
226 break
227 }
228
229 return e.complexity.Model.Deployment(childComplexity), true
230
231 case "Model.displayName":
232 if e.complexity.Model.DisplayName == nil {
233 break
234 }
235
236 return e.complexity.Model.DisplayName(childComplexity), true
237
238 case "Model.huggingFace":
239 if e.complexity.Model.HuggingFace == nil {
240 break
241 }
242
243 return e.complexity.Model.HuggingFace(childComplexity), true
244
245 case "Model.id":
246 if e.complexity.Model.ID == nil {
247 break
248 }
249
250 return e.complexity.Model.ID(childComplexity), true
251
252 case "Model.status":
253 if e.complexity.Model.Status == nil {
254 break
255 }

Callers

nothing calls this directly

Tested by

no test coverage detected