MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / pluralize

Function pluralize

crates/pyhq/python/hyperqueue/utils/string.py:1–4  ·  view source on GitHub ↗
(text: str, count: int)

Source from the content-addressed store, hash-verified

1def pluralize(text: str, count: int) -> str:
2 if count == 1:
3 return text
4 return f"{text}s"

Callers 3

submitMethod · 0.50
wait_for_jobsMethod · 0.50
cbFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected