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.
typing.Any
List[Any]
1 parent b80e2ce commit e2d42bfCopy full SHA for e2d42bf
src/target/python_class.rs
@@ -146,8 +146,11 @@ fn write_output(
146
);
147
}
148
149
- Type::Array(_) => {
+ Type::Array(inner) => {
150
imports_from_typing.insert("List");
151
+ if schema.arena.get(inner).unwrap().is_any() {
152
+ imports_from_typing.insert("Any");
153
+ }
154
155
_ => {}
156
src/target/python_inline.rs
@@ -139,8 +139,11 @@ fn write_output(
139
});
140
141
142
143
144
145
0 commit comments