You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2023/08/09 15:34:21 UTC
[GitHub] [arrow] lidavidm commented on a diff in pull request #36986: GH-37093: [Python] Add async Flight client with GetFlightInfo
lidavidm commented on code in PR #36986:
URL: https://github.com/apache/arrow/pull/36986#discussion_r1288737882
##########
python/pyarrow/_flight.pyx:
##########
@@ -1320,6 +1399,11 @@ cdef class FlightClient(_Weakrefable):
check_flight_status(CFlightClient.Connect(c_location, c_options
).Value(&self.client))
+ def as_async(self) -> None:
+ if anyio is None:
+ raise RuntimeError("anyio is required for the async interface")
Review Comment:
The main thing is to support both asyncio and Trio users (though I think anyio is unnecessary and we can just directly support them both)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org