Skip to content

Conversation

thejtshow
Copy link
Contributor

@thejtshow thejtshow commented Aug 21, 2025

I wanted to revisit GH-7371 (addressing #4530) to add Advanced Unions support to python.

All credit for the base work goes to @surculus12 (and I cherry picked their commits over to preserve authorship) - I'm only coming in to get it up to date with the current repo and hopefully get it across the finish line.

I will address the last PR comments left on the original PR as and if they still apply.

@github-actions github-actions bot added c++ codegen Involving generating code from schema python labels Aug 21, 2025
@thejtshow thejtshow changed the title Revival of !7371: Added vector union support for Python Revival of GH-7371: Added vector union support for Python Aug 21, 2025
@thejtshow
Copy link
Contributor Author

thejtshow commented Aug 25, 2025

One thing I either don't understand or want to fix, is how to get a member of a vector of union back to its 1st class type. right now the function returns a Table type with no obvious way to get back to the union type. May just be my inexperience with the generated python code. looking at the python examples in the documentation, this is normal.

@thejtshow thejtshow force-pushed the feature/python_vector_union branch from 9506d5c to 4168b59 Compare August 29, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants