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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]