mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 07:18:12 +08:00
Partially Use f string (#10218)
* flynt. trial 1. * Trial 1. * Addressed code review.
This commit is contained in:
@@ -228,8 +228,8 @@ class RayParams:
|
||||
if hasattr(self, arg):
|
||||
setattr(self, arg, kwargs[arg])
|
||||
else:
|
||||
raise ValueError("Invalid RayParams parameter in"
|
||||
" update: %s" % arg)
|
||||
raise ValueError(
|
||||
f"Invalid RayParams parameter in update: {arg}")
|
||||
|
||||
self._check_usage()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user