MCPcopy
hub / github.com/MAA1999/M9A / _as_string_list

Function _as_string_list

agent/utils/pienv.py:45–48  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

43
44
45def _as_string_list(value: Any) -> list[str]:
46 if not isinstance(value, list):
47 return []
48 return [_as_string(item) for item in value if item is not None]
49
50
51@dataclass(frozen=True)

Callers 2

from_dictMethod · 0.85
from_dictMethod · 0.85

Calls 1

_as_stringFunction · 0.85

Tested by

no test coverage detected