Home / Companies / Speakeasy / Blog / Post Details
Content Deep Dive

Python Alpha Release: Pydantic & Async

Blog post from Speakeasy

Post Details
Company
Date Published
Author
Nolan Sullivan
Word Count
512
Language
English
Hacker News Points
-
Summary

The recent alpha release of a new Python SDK Generator introduces support for Pydantic models and asynchronous operations, enhancing type safety, developer experience, and IDE compatibility. This update, developed by a UK-based engineering team, leverages tools within the Python ecosystem such as HTTPX for asynchronous and synchronous method calls, and Poetry for dependency management, to create a more maintainable codebase. Concurrently, significant reductions in the bundle size of TypeScript SDKs have been achieved, with an average decrease of 30% and some reductions reaching up to 50%, thanks to the adoption of ECMAScript Modules (ESM) alongside CommonJS and refinement of library code. Upcoming updates, including the release of Zod v4, are expected to further optimize performance through enhanced tree-shaking capabilities. Additionally, the latest platform updates include various new features and bug fixes across languages such as TypeScript, Python, Terraform, Go, and Java, improving functionality and stability in areas like error message displays, SDK building options, and method argument defaults.