1.10.0 Python Release Notes
# support
w
Has anyone upgraded to 1.10.0 python SDK release? https://github.com/VapiAI/server-sdk-python/releases The 1.10.0 release notes only mention optional aiohttp transport and state "behaviour is unchanged unless the extra is explicitly installed". But leaf union-member classes (OpenAiModel, DeepgramTranscriber, CartesiaVoice, BothCustomEndpointingRule, CreateEndCallToolDto, CreateLangfuseCredentialDto, etc.) had their discriminator field removed and are no longer assignable to their parent union fields — callers have to switch to per-parent wrapper classes like CreateAssistantDtoModel_Openai. Was this intentional for 1.10.0, and are the release notes missing a migration section?
a
Yes, in 1.10.0 they changed how union models work. You now need to use wrapper classes like CreateAssistantDtoModel_Openai instead of direct assignment. Looks like the release notes missed this part.
w
Thats a big miss 😰