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

Method render_head

sdk/python/codegen/src/codegen/generator.py:1008–1009  ·  view source on GitHub ↗
(self, t: GraphQLInterfaceType)

Source from the content-addressed store, hash-verified

1006 return t.name
1007
1008 def render_head(self, t: GraphQLInterfaceType) -> str:
1009 return f"@runtime_checkable\nclass {t.name}(Protocol):"
1010
1011 @joiner
1012 def render(self, t: GraphQLInterfaceType) -> Iterator[str]:

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected