MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / _split_csv

Function _split_csv

server/routes/artifacts.py:16–21  ·  view source on GitHub ↗
(value: Optional[str])

Source from the content-addressed store, hash-verified

14
15
16def _split_csv(value: Optional[str]) -> Optional[List[str]]:
17 if not value:
18 return None
19 parts = [part.strip() for part in value.split(",")]
20 filtered = [part for part in parts if part]
21 return filtered or None
22
23
24def _get_session_and_queue(session_id: str):

Callers 1

poll_artifact_eventsFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected