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

Method render_head

sdk/python/codegen/src/codegen/generator.py:185–186  ·  view source on GitHub ↗
(self, t: _H)

Source from the content-addressed store, hash-verified

183 yield ""
184
185 def render_head(self, t: _H) -> str:
186 return f"class {self.type_name(t)}({self.supertype_name(t)}):"
187
188 @joiner
189 def render_body(self, t: _H) -> Iterator[str]:

Callers 1

renderMethod · 0.95

Calls 2

type_nameMethod · 0.95
supertype_nameMethod · 0.95

Tested by

no test coverage detected