Rust: fix generated hierarchy

This commit is contained in:
Paolo Tranquilli
2024-09-16 10:06:01 +02:00
parent 8f93f5e34b
commit f1233b14e8
7 changed files with 304 additions and 252 deletions

View File

@@ -80,7 +80,7 @@ class Processor:
if "rust_skip" not in p.pragmas and not p.synth
] if not cls.derived else [],
ancestors=sorted(set(a.name for a in _get_ancestors(cls, self._classmap))),
table_name=inflection.tableize(cls.name),
entry_table=inflection.tableize(cls.name) if not cls.derived else None,
)
def get_classes(self):