<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 4, 2016 at 11:16 AM, Julien Danjou <span dir="ltr"><<a href="mailto:julien@danjou.info" target="_blank">julien@danjou.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Sun, Jun 26 2016, Denis Makogon wrote:<br>
<br>
> I know that some work in progress to bring Python 3.4 compatibility to<br>
> backend services and it is kinda hard question to answer, but i'd like to<br>
> know if there are any plans to support asynchronous HTTP API client in the<br>
> nearest future using aiohttp [1] (PEP-3156)?<br></span></blockquote><div><br><div>We were not sure if aiohttp would be taken in as a requirement, so in our kuryr kubernetes<br></div>prototype we did our own asyncio http request library (it only does GET for now)[2]<br><br><a href="https://github.com/midonet/kuryr/blob/k8s/kuryr/raven/aio/methods.py" target="_blank"></a><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
<br>
</span>I don't think there is unfortunately. Most clients now relies on<br>
`requests', and unfortunately it's not async not it seems ready to be<br>
last time I checked.<br></blockquote><div><br></div><div>for the neutron clients now we use a thread executor from the asyncio loop any time<br></div><div>we do neutron client request. <br></div><div><br>[2] <a href="https://github.com/midonet/kuryr/blob/k8s/kuryr/raven/aio/methods.py" target="_blank">https://github.com/midonet/kuryr/blob/k8s/kuryr/raven/aio/methods.py</a> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
--<br>
Julien Danjou<br>
// Free Software hacker<br>
// <a href="https://julien.danjou.info" rel="noreferrer" target="_blank">https://julien.danjou.info</a><br>
</font></span><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>