apache / apache/arrow

[Python][FlightRPC] Some flight classes not exported as public

Open
#44,909 0 comments 0 reactions 0 assignees View on GitHub
Component: FlightRPC Component: Python Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

For example, `_flight.ServerAuthSender` is not exposed in `pyarrow.flight`

So we cannot write

```
import pyarrow.flight as flight

def authenticate(self, outgoing: flight.ServerAuthSender, incoming: flight.ServerAuthReader):
pass

```

without the IDE/linter erroring out that ServerAuthSender is not a known member of module `flight`

There's also no documentation for it in https://arrow.apache.org/docs/python/generated/pyarrow.flight.ServerAuthHandler.html

### Component(s)

FlightRPC, Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.