palantir / conjure-python-client

Python client and JSON encoders for use with generated Conjure clients
Apache License 2.0
7 stars 20 forks source link

Pass in type_of_union for decoding union type #141

Closed jliu-palantir closed 1 year ago

jliu-palantir commented 1 year ago

Before this PR

After this PR

==COMMIT_MSG== Pass in type_of_union to the constructor when decoding a union type ==COMMIT_MSG==

Possible downsides?

Should be merged with https://github.com/palantir/conjure-python/pull/681