Open liviuba opened 1 year ago
In some cases (e.g. queries, programmatically interacting with multiple things with no extra knowledge of what the type is), easier to know how to interact with something if it has a single non-null type.
When populating (especially) an object, useful to allow type options at different granularities.
Previous core models had
Union(str, List[str])
(e.g. for image representation uris), which were changed in the api to just List[str] to simplify use/avoid ifs. Update downstream code to reflect the change.