Skip to content

Commit 0259ff5

Browse files
committed
Fix bug
1 parent 2b5db10 commit 0259ff5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codegen-bindings-generator/src/python/generator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ fn generate_file_struct(
4444
});
4545
let methods = symbols
4646
.iter()
47+
.filter(|symbol| symbol.category != symbol.subcategory)
4748
.map(|symbol| vec![symbol.py_file_getter(), symbol.py_file_get()])
4849
.flatten();
4950
output.push(parse_quote! {

0 commit comments

Comments
 (0)