Searched refs:typestr (Results 1 – 2 of 2) sorted by relevance
114 def _cast_value(self, value: Any, typestr: str) -> Any:115 if typestr == "str":118 elif typestr == "float":121 elif typestr == "int":124 elif typestr == "bool":127 elif typestr.startswith("list"):136 elif typestr.startswith("set"):145 elif typestr.startswith("map"):
150 def test_cast_value(zephyr_base, value, typestr, expected, expected_warning): argument158 result = parser._cast_value(value, typestr)