Example for Python HTTP Post Arrow client and server#27
Conversation
|
Thank you @arunppsg! I will review this soon. |
|
@arunppsg For the HTTP POST example, we are looking for something different than this. As described in the README in the
So in these HTTP POST examples, the client should send the data to the server. However, I think this FastAPI + Uvicorn example would be a great addition to the HTTP GET examples. May I make some changes to this PR to turn it into an HTTP GET example? |
Ah, I see - I will think about this and get back on it.
Feel free to make the necessary changes for HTTP GET in this PR. |
|
I moved the FastAPI + Uvicorn server piece of this to #37 (with some small changes). |
Addresses apache/arrow#40595
In this pull request, I have added an example of HTTP Post Arrow client and server.
The server uses
fastapifor and the client usesrequestslibrary. Except these, the rest of the code structure is similar to the get_simple example.If there are any suggestions, feel free to let me know and I will be happy to update the PR accordingly.