Skip to content

Commit 0a50892

Browse files
committed
fix: Fix the param type to 'object' for map params
1 parent f30c649 commit 0a50892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/src/toolbox_core/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __get_type(self) -> Type:
4545
if self.items is None:
4646
raise Exception("Unexpected value: type is 'list' but items is None")
4747
base_type = list[self.items.__get_type()] # type: ignore
48-
elif self.type == "map":
48+
elif self.type == "object":
4949
if self.valueType:
5050
if self.valueType == "string":
5151
base_type = dict[str, str]

0 commit comments

Comments
 (0)