Miguel Grinberg
Miguel Grinberg
I think you will need to convince the Python core team to implement this in Python, because doing this without threads is just not possible right now.
Couple of notes. First, the async client would need to be changed to support the same functionality, and ideally with the same change in the constructor arguments. Second, I'm thinking...
I have implemented a simpler solution based on `getaddrinfo()` as I described above. The choice between ipv4 or ipv6 is made by this call.
> Since this code is not generated like in elasticsearch-py, lint should check that unasync(_async/search.py) == _sync/search.py. The alternative is to not store _sync/search.py on disk and use unasync's setuptools...
@pquentin Making good progress on this. See the top issue comment for the completed tasks. I will try to get through the document tests and see if that is a...
@pquentin Some more updates: - Added update_by_query.py and mapping.py. The only remaining module that does I/O is analysis.py, but I'm not sure a conversion is necessary, because the only I/O...
I have yet to convert the examples, so I'll test how analysis is used and determine if we need to do a conversion. None of the tests seemed to need...
I have asyncified the analisys.py as well. It wasn't clear at first, but there is metaclass magic between this module and the `DslBase` class that ends up performing I/O in...
@pquentin This PR is ready for review.
@pquentin I think I have addressed everything except the unasync for the examples. Please have a look at the new structure for the docs with a separate reference page for...