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

Function EqMethod

faust/utils/codegen.py:163–165  ·  view source on GitHub ↗

Generate ``__eq__`` method.

(fields: List[str], **kwargs: Any)

Source from the content-addressed store, hash-verified

161
162
163def EqMethod(fields: List[str], **kwargs: Any) -> Callable[[], None]:
164 """Generate ``__eq__`` method."""
165 return CompareMethod(name="__eq__", op="==", fields=fields, **kwargs)
166
167
168def NeMethod(fields: List[str], **kwargs: Any) -> Callable[[], None]:

Callers

nothing calls this directly

Calls 1

CompareMethodFunction · 0.85

Tested by

no test coverage detected