MCPcopy
hub / github.com/burnash/gspread / prefixed_counter

Function prefixed_counter

tests/conftest.py:35–38  ·  view source on GitHub ↗
(prefix: str, start: int = 1)

Source from the content-addressed store, hash-verified

33
34
35def prefixed_counter(prefix: str, start: int = 1) -> Generator[str, None, None]:
36 c = itertools.count(start)
37 for value in c:
38 yield "{} {}".format(prefix, value)
39
40
41def get_method_name(self_id: str) -> str:

Callers 1

_sequence_generatorMethod · 0.85

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…