mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-26 11:12:50 +00:00
fix: validator msg
This commit is contained in:
@@ -6,7 +6,7 @@ from typing import Optional
|
||||
def check_single(v: Optional[str]) -> Optional[str]:
|
||||
"""Check that string is not comma-separated string"""
|
||||
if v and "," in v:
|
||||
raise ValueError("multiple values are not allowed")
|
||||
raise ValueError("comma-separated values are not allowed")
|
||||
return v
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user