示例#1
0
文件: nodes.py 项目: 7iW/omegaconf
 def _is_interpolation(self) -> bool:
     return _is_interpolation(self._value())
示例#2
0
 def test_is_interpolation(self, type_: Callable[..., Any], input_: Any,
                           expected: bool) -> None:
     value = type_(input_) if input_ != "DEFAULT" else type_()
     assert _utils._is_interpolation(value) == expected