Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FlightRPC][Python] Implement async GetFlightInfo #37093

Closed
Tracked by #34607
lidavidm opened this issue Aug 9, 2023 · 4 comments · Fixed by #36986
Closed
Tracked by #34607

[FlightRPC][Python] Implement async GetFlightInfo #37093

lidavidm opened this issue Aug 9, 2023 · 4 comments · Fixed by #36986

Comments

@lidavidm
Copy link
Member

lidavidm commented Aug 9, 2023

Describe the enhancement requested

Add Python bindings to #36512.

Component(s)

FlightRPC, Python

@lidavidm lidavidm self-assigned this Aug 9, 2023
lidavidm added a commit to lidavidm/arrow that referenced this issue Aug 9, 2023
lidavidm added a commit to lidavidm/arrow that referenced this issue Aug 9, 2023
lidavidm added a commit to lidavidm/arrow that referenced this issue Aug 18, 2023
pitrou pushed a commit to lidavidm/arrow that referenced this issue Aug 23, 2023
pitrou added a commit that referenced this issue Aug 23, 2023
### Rationale for this change

Demonstrate how to deal with async Flight from Python.

### What changes are included in this PR?

Add bindings for GetFlightInfo.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes, new APIs.

* Closes: #37093

Lead-authored-by: David Li <li.davidm96@gmail.com>
Co-authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@pitrou pitrou added this to the 14.0.0 milestone Aug 23, 2023
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…pache#36986)

### Rationale for this change

Demonstrate how to deal with async Flight from Python.

### What changes are included in this PR?

Add bindings for GetFlightInfo.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes, new APIs.

* Closes: apache#37093

Lead-authored-by: David Li <li.davidm96@gmail.com>
Co-authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@pvardanis
Copy link

pvardanis commented Jul 31, 2024

@lidavidm any future plans to implement async Python bindings to do_exchange? I've already managed to process do_exchange calls concurrently as posted on another ticket earlier this year, but would love to have async functionality as well. I'm using Arrow Flight RPC for model inference, and this would be particularly useful for large model inference.

@lidavidm
Copy link
Member Author

Hey @pvardanis, unfortunately I ran out of available time after this. But since then I've come to the conclusion that we just can't feasibly wrap gRPC's API surface (async included) and that it would be better to expose gRPC so that you can directly use all of its APIs, which should mean that you wouldn't be blocked on us. CC @felipecrv who has been looking at this as well

@felipecrv
Copy link
Contributor

Yes. Giving users the full gRPC interface is my goal. I'm gonna have to do it sooner rather than later because it blocks other things I want to do.

@pvardanis
Copy link

@lidavidm @felipecrv has there been any roadmap for implementing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants