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
Yes, we could have used httpx but wanted to use sqlalchemy for our usecase. And in order to make multiple pinot calls in parallel using in a single API in fastAPI, create_async_engine could have helped.
We were using pinot in our backend fastapi code using Sqlalchemy. We used create_engine from sqlalchemy to create connections with pinot.
But now we have a usecase of making async calls to pinot, so as to make multiple calls at the same time and then await on the results.
In order to do so, we tried the following code:
But this code is giving the following error:
How can we create Sqlalchemy to create multiple async calls instead of using external libraries like asyncio and httpx as used in the examples https://github.com/python-pinot-dbapi/pinot-dbapi/blob/master/examples/pinot_async.py.
The text was updated successfully, but these errors were encountered: