We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47970d2 commit 68ab223Copy full SHA for 68ab223
python/rpdk/go/resolver.py
@@ -5,7 +5,7 @@
5
"integer": "*encoding.Int",
6
"boolean": "*encoding.Bool",
7
"number": "*encoding.Float",
8
- UNDEFINED: "Type",
+ UNDEFINED: "interface{}",
9
}
10
11
@@ -18,8 +18,7 @@ def translate_type(resolved_type):
18
item_type = translate_type(resolved_type.type)
19
20
if resolved_type.container == ContainerType.DICT:
21
- key_type = PRIMITIVE_TYPES["string"]
22
- return f"Map<{key_type}, {item_type}>"
+ return f"map[string]{item_type}"
23
if resolved_type.container == ContainerType.LIST:
24
return f"[]{item_type}"
25
if resolved_type.container == ContainerType.SET:
0 commit comments