MCPcopy Create free account
hub / github.com/adny-code/fastgrind / _parse_csv_ints

Function _parse_csv_ints

tools/fastgrind.py:366–375  ·  view source on GitHub ↗
(raw: str | None)

Source from the content-addressed store, hash-verified

364
365
366def _parse_csv_ints(raw: str | None) -> list[int]:
367 if not raw:
368 return []
369 values: list[int] = []
370 for chunk in raw.split(","):
371 chunk = chunk.strip()
372 if not chunk:
373 continue
374 values.append(int(chunk))
375 return values
376
377
378def _parse_csv_strings(raw: str | None) -> list[str]:

Callers 1

_dispatchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected