==COMMIT_MSG==
Add type_of_union to the constructor of UnionType
Use type_of_union to determine the union variant instead of checking if the value is None
==COMMIT_MSG==
Add type_of_union to the constructor of UnionType
Use type_of_union to determine the union variant instead of checking if the value is None
**Check the box to generate changelog(s)**
- [ ] Generate changelog entry
Context on why this PR is necessary: https://support-jira.palantir.tech/browse/PDS-340288
Before this PR
After this PR
==COMMIT_MSG== Add type_of_union to the constructor of UnionType Use type_of_union to determine the union variant instead of checking if the value is None ==COMMIT_MSG==
Possible downsides?
Should be merged with https://github.com/palantir/conjure-python-client/pull/141