Skip to content

Commit ba413a2

Browse files
committed
Add mapping for list[int] and list[bool]
1 parent 7b461f3 commit ba413a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansys/dpf/core/mapping_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def __missing__(self, key):
7171
map_types_to_python = _smart_dict_snake()
7272
for k, v in map_types_to_cpp.items():
7373
map_types_to_python[v] = k
74+
map_types_to_python["vector<bool>"] = "list[bool]"
75+
map_types_to_python["vector<int32>"] = "list[int]"
7476
map_types_to_python["vector<double>"] = "list[float]"
7577
map_types_to_python["vector<string>"] = "list[str]"
7678
map_types_to_python["b"] = "bool"

0 commit comments

Comments
 (0)