mirror of
https://github.com/wassname/ray.git
synced 2026-10-29 13:30:42 +08:00
[tune] Fix f-string in error message (#13423)
This commit is contained in:
1 parent
b257cb7d98
commit
c6fc7124d1
1 file changed
+3
-3
@@ -132,9 +132,9 @@ class NevergradSearch(Searcher):
|
||||
self._points_to_evaluate = None
|
||||
elif not isinstance(points_to_evaluate, Sequence):
|
||||
raise ValueError(
|
||||
f"Invalid object type passed for `points_to_evaluate`: "
|
||||
"{type(points_to_evaluate)}. "
|
||||
f"Please pass a list of points (dictionaries) instead.")
|
||||
"Invalid object type passed for `points_to_evaluate`: "
|
||||
f"{type(points_to_evaluate)}. "
|
||||
"Please pass a list of points (dictionaries) instead.")
|
||||
else:
|
||||
self._points_to_evaluate = list(points_to_evaluate)
|
||||
|
||||
|
||||
Reference in new issue
Block a user