has_dependency only for validator
This commit is contained in:
parent
e3be95a274
commit
acdddcfe9c
|
@ -165,6 +165,7 @@ class Base(object):
|
||||||
self._has_calc_context = True
|
self._has_calc_context = True
|
||||||
elif isinstance(param, ParamOption):
|
elif isinstance(param, ParamOption):
|
||||||
param.option._add_dependency(self)
|
param.option._add_dependency(self)
|
||||||
|
if type_ == 'validator':
|
||||||
self._has_dependency = True
|
self._has_dependency = True
|
||||||
is_multi = self.impl_is_dynoptiondescription() or self.impl_is_multi()
|
is_multi = self.impl_is_dynoptiondescription() or self.impl_is_multi()
|
||||||
func_args, func_kwargs, func_positional, func_keyword = self._get_function_args(calculator)
|
func_args, func_kwargs, func_positional, func_keyword = self._get_function_args(calculator)
|
||||||
|
|
Loading…
Reference in New Issue