You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because this library depends on gevent and its monkey-patching, it can sometimes cause unexpected conflicts when used in combination with other libraries. In some cases, these compatibility issues are not easily reconcilable, if at all.
As a stab in the dark, you can try running your server with gunicorn which should use a pre-fork server instead of using spawn which may avoid the serialization issue. Not sure.
That said, if you're using async and FastAPI, you would probably best be served by using an asyncio-compatible HTTP client library.
I'm trying to use your awesome work with fast api, but it crashes. If I import grequests first I get
The text was updated successfully, but these errors were encountered: