-
Notifications
You must be signed in to change notification settings - Fork 71
Bulk Helpers #5
Comments
Unfortunately there is currently no way to do this. To make this work we'd have to reimplement the |
@honzakral I took a look at implementing Thoughts? |
Having async helpers would be really helpful. It's really not that hard. However, the final piece for this only came with Python 3.6: async generators. Those allow for almost identical code with the synchronous version. And I'd argue that people who use async are probably willing to use Python 3.6. |
Yup. Here's a link to the PEP: https://www.python.org/dev/peps/pep-0525/ Still waiting to hear what @honzakral thinks. |
I would love to have async bulk helpers and it makes a lot of sense. If at all possible I would prefer the solution to be at least If anybody wants to take a stab at it I would be happy to help with reviews and feedback (also if any changes in |
I would like to add that an async version of the |
Regarding this issue, what do you think about this answer?
|
@eranhirs nothing about elasticsearch's |
Any update on this one? It has been a year and python3.6 adoption has become larger |
For a quick solution, I created my own bulk helper: However, if you guys think we can use the python3.6 pep with async generators, I can create a proper PR with that helper. I think it's a critical helper we need in this package , and I'm more than happy to help :) |
I see some commits against a fork for this issue, has there been any progress in getting this into the codebase? |
Hi, |
There are asynchronous bulk helpers available in |
Is there a way to call an async version of the bulk helpers? I couldn't find away to do this when looking around.
The text was updated successfully, but these errors were encountered: