mirror of
https://github.com/vale981/ray
synced 2025-03-08 19:41:38 -05:00
[Tune] Allow for tuples in _split_resolved_unresolved_values. (#20794)
This commit is contained in:
parent
85a368c720
commit
5836cf9b1c
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ def _split_resolved_unresolved_values(
|
||||||
resolved_vars[(k, ) + path] = value
|
resolved_vars[(k, ) + path] = value
|
||||||
for (path, value) in _unresolved_children.items():
|
for (path, value) in _unresolved_children.items():
|
||||||
unresolved_vars[(k, ) + path] = value
|
unresolved_vars[(k, ) + path] = value
|
||||||
elif isinstance(v, list):
|
elif isinstance(v, (list, tuple)):
|
||||||
# Recurse into a list
|
# Recurse into a list
|
||||||
for i, elem in enumerate(v):
|
for i, elem in enumerate(v):
|
||||||
_resolved_children, _unresolved_children = \
|
_resolved_children, _unresolved_children = \
|
||||||
|
|
Loading…
Add table
Reference in a new issue