fix variables not getting filled with resolved
This commit is contained in:
parent
8c46304db2
commit
97da1a651a
1 changed files with 4 additions and 1 deletions
|
|
@ -279,8 +279,11 @@ class VariableDependency(ABC):
|
||||||
if not isinstance(maybe_resolvable_args[-1], Resolvable):
|
if not isinstance(maybe_resolvable_args[-1], Resolvable):
|
||||||
is_resolvable = False
|
is_resolvable = False
|
||||||
elif isinstance(arg, Variable):
|
elif isinstance(arg, Variable):
|
||||||
if arg not in resolved_variables:
|
if arg in resolved_variables:
|
||||||
|
maybe_resolvable_args[-1] = resolved_variables[arg]
|
||||||
|
else:
|
||||||
is_resolvable = False
|
is_resolvable = False
|
||||||
|
# Could be un unresolvable
|
||||||
if arg in unresolved_variables:
|
if arg in unresolved_variables:
|
||||||
maybe_resolvable_args[-1] = unresolved_variables[arg]
|
maybe_resolvable_args[-1] = unresolved_variables[arg]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue