Skip to content

Add getters to UnionFields#8895

Merged
alamb merged 1 commit into
apache:mainfrom
pydantic:friendlymatthew/unionfields_getters
Nov 24, 2025
Merged

Add getters to UnionFields#8895
alamb merged 1 commit into
apache:mainfrom
pydantic:friendlymatthew/unionfields_getters

Conversation

@friendlymatthew

Copy link
Copy Markdown
Contributor

Rationale for this change

This PR adds convenience getter methods to the UnionFields api. It's very common to find a specific union field by FieldRef or type id

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Nov 20, 2025
@alamb alamb merged commit 558f744 into apache:main Nov 24, 2025
26 checks passed
@alamb

alamb commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Thanks @friendlymatthew and @kylebarron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants