Fixes
- Use thread pool when running non-async functions in async context. This prevents a non-async Inngest function from blocking the whole event loop when using an async HTTP framework (e.g. FastAPI).
- Raise a better error when using nested steps.
- Connect fixes and improvements.
What's Changed
- Connect: add thread pool by @amh4r in https://github.com/inngest/inngest-py/pull/219
- Connect: Close more gracefully by @amh4r in https://github.com/inngest/inngest-py/pull/220
- Connect: Fix graceful close when no initial connection by @amh4r in https://github.com/inngest/inngest-py/pull/221
- Bump version to 0.4.22a1 by @amh4r in https://github.com/inngest/inngest-py/pull/222
- Delete unnecessary memo code by @amh4r in https://github.com/inngest/inngest-py/pull/224
- Improve nested step handling by @amh4r in https://github.com/inngest/inngest-py/pull/223
- Use thread pool when running non-async functions in async context by @amh4r in https://github.com/inngest/inngest-py/pull/225
- Connect: add lease extensions by @amh4r in https://github.com/inngest/inngest-py/pull/227
- Connect: fix wrong error log by @amh4r in https://github.com/inngest/inngest-py/pull/228
- Connect: fix auto-close on non-retryably start request fail by @amh4r in https://github.com/inngest/inngest-py/pull/229
Full Changelog: https://github.com/inngest/inngest-py/compare/inngest@0.4.21...inngest@0.4.22
Fetched April 3, 2026


