delta003 commented on issue #36844:
URL: https://github.com/apache/arrow/issues/36844#issuecomment-1777118861
Hit this recently, here is the workaround to use a debugger with the Flight
server until it works OOTB
```python
class MyFlightServer(flight.FlightServerBase):
def get_flight_info(self, context: flight.ServerCallContext, descriptor:
flight.FlightDescriptor) -> flight.FlightInfo:
try:
import prided
pydevd.connected = True
pydevd.settrace(suspend=False)
except ImportError:
# Not running in debugger
pass
# Do work.
```
--
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]