You are working on the pydantic/pydantic-settings repository. The source code is checked out at /testbed at…
You are working on the pydantic/pydantic-settings repository. The source code is checked out at /testbed at…: a task in SWE-Lego-RL-2699 (Harbor dataset). def parse comma sep str list(value: Any) - list str : if not value: return if isinstance(value, str): return value.split(',') return value
The task
def _parse_comma_sep_str_list(value: Any) -> list[str]: if not value: return [] if isinstance(value, str): return value.split(',') return value
Part of Lego-X/Lego-RL-2699.