Skip to content

Conversation

@chriso
Copy link
Contributor

@chriso chriso commented May 13, 2024

#154 added a way for users to run Dispatch without an integration like FastAPI. In this mode, the user doesn't have to instantiate a Dispatch (and Registry) instance, and can instead use the top-level functions that have the same behavior.

We were missing a top-level batch function that other integrations have access to on their dispatch (Registry) instances (see Registry.batch). This PR adds the missing function to bring parity with the other integrations.

@chriso chriso self-assigned this May 13, 2024
@chriso chriso merged commit 833793e into main May 13, 2024
@chriso chriso deleted the dispatch-batch branch May 13, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants