vllm.envs_impl.utils ¶ Utility functions for environment variable handling. parse_list ¶ parse_list(value: str, separator: str = ',') -> list[str] Split a separated string into a list of stripped values. Source code in vllm/envs_impl/utils.py 15 16 17 18 19def parse_list(value: str, separator: str = ",") -> list[str]: """Split a separated string into a list of stripped values.""" if not value.strip(): return [] return [item.strip() for item in value.split(separator) if item.strip()] parse_path ¶ parse_path(value: str) -> Path Expand ~ and env vars, return a Path. Source code in vllm/envs_impl/utils.py 10 11 12def parse_path(value: str) -> Path: """Expand ~ and env vars, return a Path.""" return Path(os.path.expanduser(os.path.expandvars(value)))