-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to chain calls with oaib? #6
Comments
Let me get back to this in a few hours. There's some fires I'm trying to put out with coroutine resolution and then we'll also have a way to save additional row values with Could you give an example of the pattern you would ideally want? |
Ah, I see what you mean now. I talked with @jvmncs about this yesterday, where we could get a response to some input and then chain them in |
My goal would be able to have a function like this:
where the dev experience is creating a
Here's an toy implementation of RateLimitedBatch that I pulled together so this code can run:
|
@aniemerg I'm kind of tied up but it seems like this might be a higher level refactor, like you might have a better grasp on how to work this process with asyncio than I did originally writing it. Would you be open to maybe putting in a refactor to support this, and maybe reviewing existing logic and rewiring anything as appropriate? |
Really cool tool, but is it possible to chain calls. I.e. batch a first call, process the result and then add a second call to the batch to act on the result?
I saw that there are callbacks, but not sure if that can be used to do this in a clean way.
The text was updated successfully, but these errors were encountered: