MCPcopy
hub / github.com/faust-streaming/faust / reprkwargs

Function reprkwargs

faust/utils/codegen.py:245–248  ·  view source on GitHub ↗
(
    kwargs: Mapping[str, Any], *, sep: str = ", ", fmt: str = "{0}={1}"
)

Source from the content-addressed store, hash-verified

243
244
245def reprkwargs(
246 kwargs: Mapping[str, Any], *, sep: str = ", ", fmt: str = "{0}={1}"
247) -> str:
248 return sep.join(fmt.format(k, repr(v)) for k, v in kwargs.items())
249
250
251def reprcall(

Callers 2

test_reprkwargsFunction · 0.90
reprcallFunction · 0.85

Calls 2

joinMethod · 0.45
itemsMethod · 0.45

Tested by 1

test_reprkwargsFunction · 0.72