MCPcopy Index your code
hub / github.com/faust-streaming/faust / InitMethod

Function InitMethod

faust/utils/codegen.py:152–154  ·  view source on GitHub ↗

Generate ``__init__`` method.

(args: List[str], body: List[str], **kwargs: Any)

Source from the content-addressed store, hash-verified

150
151
152def InitMethod(args: List[str], body: List[str], **kwargs: Any) -> Callable[[], None]:
153 """Generate ``__init__`` method."""
154 return Method("__init__", args, body, return_type="None", **kwargs)
155
156
157def HashMethod(attrs: List[str], **kwargs: Any) -> Callable[[], None]:

Callers

nothing calls this directly

Calls 1

MethodFunction · 0.85

Tested by

no test coverage detected