mirror of
https://github.com/wassname/ray.git
synced 2026-07-19 11:27:32 +08:00
Fix linting on master branch (#6174)
This commit is contained in:
@@ -202,7 +202,7 @@ def RunnerHandler(runner):
|
||||
path = parts.path
|
||||
|
||||
if path == "/trials":
|
||||
return [t for t in runner.get_trials()]
|
||||
return list(runner.get_trials())
|
||||
else:
|
||||
trial_id = path.split("/")[-1]
|
||||
return runner.get_trial(trial_id)
|
||||
|
||||
Reference in New Issue
Block a user