fix: Added return value to non type-prefixed create vector function (#8945)

* fix: Added return value to non type-prefixed create vector function

* chore: Added generated code
This commit is contained in:
RCRalph
2026-03-05 03:09:09 +01:00
committed by GitHub
parent abc9bfebff
commit 8d2c333b36
12 changed files with 45 additions and 45 deletions

View File

@@ -1528,7 +1528,7 @@ class PythonGenerator : public BaseGenerator {
} else {
code += "def Create" + field_method + "Vector(builder, data):\n";
}
code += Indent + helper_name + "(builder, data)\n\n";
code += Indent + "return " + helper_name + "(builder, data)\n\n";
}
}