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

Method fields

sdk/python/codegen/src/codegen/generator.py:988–992  ·  view source on GitHub ↗
(self, t: GraphQLInputObjectType)

Source from the content-addressed store, hash-verified

986 return f"@typecheck\n@dataclass(slots=True)\n{super().render_head(t)}"
987
988 def fields(self, t: GraphQLInputObjectType) -> Iterator[_InputField]:
989 return (
990 _InputField(self.ctx, *args)
991 for args in cast(GraphQLInputFieldMap, t.fields).items()
992 )
993
994
995@dataclass

Callers

nothing calls this directly

Calls 1

_InputFieldClass · 0.85

Tested by

no test coverage detected