grequests

GRequests monkey patch warning

GRequests monkey patch warning Question: I get the following warning each time , though the module works as expected : /usr/local/lib/python3.7/site-packages/grequests.py:21: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016. …

Total answers: 2

Mysterious error when using django server with grequests

Mysterious error when using django server with grequests Question: Currently, I am running a vagrant server on Ubuntu 14.04 and I test all my django modules by using the simple python manage.py runserver 0.0.0.0:8000 Since I am connecting to the django webserver using chrome through http://localhost:8000 and the server is running on a VM, I …

Total answers: 2

In what way is grequests asynchronous?

In what way is grequests asynchronous? Question: I’ve been using the python requests library for some time, and recently had a need to make a request asynchronously, meaning I would like to send off the HTTP request, have my main thread continue to execute, and have a callback called when the request returns. Naturally, I …

Total answers: 3