inngest / inngest-py

Python SDK for Inngest: Durable functions and workflows in Python, hosted anywhere
https://www.inngest.com/docs/reference/python
Apache License 2.0
27 stars 6 forks source link

Add modes #60

Closed goodoldneon closed 6 months ago

goodoldneon commented 6 months ago

Add the concept of "modes" (Cloud and Dev Server), which also exist in the TypeScript SDK. One big difference is that the Python SDK doesn't need explicit/implicit modes, since it doesn't have legacy mode inference logic to support.

This PR should not contain any breaking changes. Except for an error code change 😄

Also improved logging in the example apps, which makes it easier to see the new log messages