MCPcopy Create free account
hub / github.com/faust-streaming/faust / GtMethod

Function GtMethod

faust/utils/codegen.py:178–180  ·  view source on GitHub ↗

Generate ``__gt__`` method.

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

Source from the content-addressed store, hash-verified

176
177
178def GtMethod(fields: List[str], **kwargs: Any) -> Callable[[], None]:
179 """Generate ``__gt__`` method."""
180 return CompareMethod(name="__gt__", op=">", fields=fields, **kwargs)
181
182
183def LeMethod(fields: List[str], **kwargs: Any) -> Callable[[], None]:

Callers

nothing calls this directly

Calls 1

CompareMethodFunction · 0.85

Tested by

no test coverage detected