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

Function LeMethod

faust/utils/codegen.py:183–185  ·  view source on GitHub ↗

Generate ``__le__`` method.

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

Source from the content-addressed store, hash-verified

181
182
183def LeMethod(fields: List[str], **kwargs: Any) -> Callable[[], None]:
184 """Generate ``__le__`` method."""
185 return CompareMethod(name="__le__", op="<=", fields=fields, **kwargs)
186
187
188def LtMethod(fields: List[str], **kwargs: Any) -> Callable[[], None]:

Callers

nothing calls this directly

Calls 1

CompareMethodFunction · 0.85

Tested by

no test coverage detected