mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 04:19:23 +08:00
[tune] Refactoring: Deduplicate (#7918)
* refactoring: Deduplication * refactoring: Deduplication * refactoring: Deduplication * refactoring: Deduplication * lint fix: Variable naming case * fix: Remove White Space * fix_lint Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
@@ -858,10 +858,7 @@ class LocalIterator(Generic[T]):
|
||||
"other must be of type LocalIterator, got {}".format(
|
||||
type(it)))
|
||||
|
||||
if deterministic:
|
||||
timeout = None
|
||||
else:
|
||||
timeout = 0
|
||||
timeout = None if deterministic else 0
|
||||
|
||||
active = []
|
||||
parent_iters = [self] + list(others)
|
||||
|
||||
Reference in New Issue
Block a user